search for: datah2

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

Did you mean: data2
2011 Apr 29
1
3-way contingency table
...5 5 8 goat 4 3 4 5 9 goat 4 3 4 5 10 cattle 4 3 4 5 Now I want to determine the the frequencies of every unique value in every column depending on the host column. It is quite easy to determine the frequencies in total with the following command: > dataH2 <- dataH[,c(2,3,4,5)] > table(as.matrix(dataH2), colnames(dataH2)[col(dataH2)], useNA="ifany") ms01 ms31 ms33 ms34 3 0 9 0 0 4 10 0 7 0 5 0 0 2 9 6 0 0 0 1 9 0 0 1 0 20 0 1 0 0 But I cannot manag...