search for: epi2

Displaying 1 result from an estimated 1 matches for "epi2".

Did you mean: epi
2011 Apr 20
1
avoiding if-then statements for looped chi-square tests
...ot;bd") epis<-cbind("m1"=sample(lets[1:3],25, replace=TRUE),"m2"=sample(lets,25,replace=TRUE),"m3"=sample(lets[1:2],25, replace=TRUE)) ###the loop that binds all possible combinations of columns (genes) pairwise### for (i in 1:2){ for (j in (i+1):3){ epi2=cbind(epis[,i], epis[,j]) print(epi2) } } Thanks for any help and thanks to the previous responses on my post with the error in my loop (Peter Dahlgard). Louis [[alternative HTML version deleted]]