tab2df {stacomirtools} | R Documentation |
Function to transform a ftable into dataframe but just keeping the counts, works with ftable of dim 2
Description
Function to transform a ftable into dataframe but just keeping the counts works with ftable of dim 2
Usage
tab2df(tab)
Arguments
tab |
a flat table |
Author(s)
Cedric Briand cedric.briand@eptb-vilaine.fr
Examples
df <- data.frame("var1" = c("blue","red"), "var2" = c("nice","ugly"))
ftdf <- ftable(df)
tab2df(ftdf)
[Package stacomirtools version 0.6.0.1 Index]