tab2df | R Documentation |
Function to transform a ftable into dataframe but just keeping the counts works with ftable of dim 2
tab2df(tab)
tab |
a flat table |
Cedric Briand cedric.briand@eptb-vilaine.fr
df <- data.frame("var1" = c("blue","red"), "var2" = c("nice","ugly")) ftdf <- ftable(df) tab2df(ftdf)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.