Re: [R] by group testing

2010-08-04 Thread Joshua Wiley
On Wed, Aug 4, 2010 at 10:17 AM, Joshua Wiley wrote: > Hello, > > This will put the results of the Fisher test in a list, with each > element of the list being the results for mouse type a, b, c, and d. > > mice <- rep(letters[1:4],10) > outcome <- sample(c(0,1),length(mice),replace=T) > group <-

Re: [R] by group testing

2010-08-04 Thread Joshua Wiley
Hello, This will put the results of the Fisher test in a list, with each element of the list being the results for mouse type a, b, c, and d. mice <- rep(letters[1:4],10) outcome <- sample(c(0,1),length(mice),replace=T) group <- c(rep("A",length(mice)/2),rep("B",length(mice)/2)) my.data <- data.