Questions tagged [asbio]

asbio is a collection of statistical tools for biologists, constituted as a package for use in the R environment

To provide a collection of statistical tools for biologists to use in the R environment, Ken Aho created the asbio package.

8 questions
2
votes
1 answer

Write results in table to one row in R

I have made a Kappa statistic {Asbio}. library("asbio") reference<-c("hi","low","low","hi","low","med","med") class1<-c("hi","hi","low","hi","med","med","med") Kappa(class1,reference) so the results is: $ttl_agreement [1]…
maycca
  • 3,848
  • 5
  • 36
  • 67
2
votes
2 answers

R package for calculating partial coefficient of determination?

Anyone know of an R package for calculating partial R^2 in multiple regression? I've tried the command partial.R2 from package asbio, but it is giving error messages even with the example from supplied documentation. Many thanks.
Thomas
  • 2,484
  • 8
  • 30
  • 49
1
vote
1 answer

Tidyverse solution to grouping, and looping through dataframe to perform dunn.test

I have an example dataframe below. example.df <- data.frame( species = sample(c("primate", "non-primate"), 50, replace = TRUE), treated = sample(c("Yes", "No"), 50, replace = TRUE), gender = sample(c("male", "female"), 50, replace = TRUE), var1…
jaydoc
  • 79
  • 1
  • 7
0
votes
0 answers

asbio package in R 3.5.3 Error : object 'hcl.colors' is not exported by 'namespace:grDevices' ERROR: lazy loading failed for package 'asbio'

What's happen with asbio instalation here in R-3.5.3? Please. There is a binary version available but the source version is later: binary source needs_compilation asbio 1.6-1 1.7 FALSE installing the source package…
0
votes
1 answer

Function tukey.add.test (asbio) with other package

usually I use the tukey.add.test from the asbio package in order to check interaction between treatmest and block in ANOVA RCBD, the package is now archived so I can no longer use this function or anything from the package. You guys know another…
0
votes
1 answer

Loop a function that returns a list over variables in a dataframe grouped by another variable

As an example dataset example.df <- data.frame( species = sample(c("primate", "non-primate"), 50, replace = TRUE), treated = sample(c("Yes", "No"), 50, replace = TRUE), gender = sample(c("male", "female"), 50, replace = TRUE), var1 = rnorm(50,…
jaydoc
  • 79
  • 1
  • 7
0
votes
1 answer

dplyr, dunn test, Error in dim(robj) <- c(dX, dY) : dims [product 0] do not match the length of object

I am trying to pass a dataset filtered by a variable value to the pairw.kw function from the "asbio" package in R. example.df <- data.frame( species = sample(c("primate", "non-primate"), 50, replace = TRUE), …
jaydoc
  • 79
  • 1
  • 7
0
votes
1 answer

How to compare all possible combinations of objects in R by loop

Suppose I have binary vectors and need to compare their similarily with Kappa function. library(asbio) A <- c(0,1,1,1,1,1,0) B <- c(0,0,1,0,1,0,1) C <- c(1,0,0,1,1,0,0) D <- c(1,1,0,0,0,1,1) E <- c(1,0,0,1,1,0,1) Kappa(A,B)$ttl_agreement #…
Ladislav Naďo
  • 822
  • 12
  • 27