View source: R/struc__tab2df.R
tab2df | R Documentation |
Converts a table from function "table" to a two column data frame.
tab2df(t, new_names = NA, srt = NA)
t |
Input table |
new_names |
A character vector of two elements for new column names. Default: Name, Count. |
srt |
Sort the output data frame by its second column. Legit values: NA, "decreasing", and "increasing". |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.