table2dt | R Documentation |
Note that as.data.frame can do this, but you get aggregated rows with a Freq
column
table2dt(Tab)
table2df(Tab)
Tab |
The table |
table2df()
: Convert a table to a (disaggregated) data frame
table2dt(Titanic)
head(table2df(Titanic))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.