tabcont2categ | R Documentation |
Convert a contingency table (data frame) into a data.frame of factors
tabcont2categ(tab)
tab |
A data.frame (contingency table) |
Convert a contingency table (data frame) into a data.frame of factors
A data frame
mydata<-as.data.frame(matrix(rpois(9,5),nr=3,nc=3))
names(mydata)<-LETTERS[1:3]
row.names(mydata)<-letters[1:3]
tabcont2categ(mydata)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.