table.to.data | R Documentation |
Creates a data.frame from a table
table.to.data(x)
x |
A matrix or table representing the cross tabulation of two variables |
A two column data.frame where each row is an observation and each column is a variable.
xtabs
tab<-matrix(c(4,5,6,9,7,3),ncol=3)
tab
table.to.data(tab)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.