Description Usage Arguments Examples
Use either rowSums or colSums to convert each cell to a fraction of total observations by row or columns
1 | percent_table(df = df, by = "Row", transpose = TRUE)
|
df |
Either a data frame or a table produced by base::table() |
by |
Input vectors are either "Row" or "Column" |
transpose |
Transpose resulting table back to original orientation |
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.