Description Usage Arguments Value Examples
adds percentage distribution columns to a summarised data frame
1 |
data |
A data frame that has a date or similar variable as its first
column, followed by the levels of some categorical variable that makes up a
total, which is the last column. Typically a data frame created by the
|
the same data frame plus a column starting with "perc" for each of the existing variables. These added variables will add up to 100 are summed up row wise.
1 | x <- add_perc(df_vda, 2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.