Description Usage Arguments Examples
This function takes a dataframe and a list of columns to find a percentage for, along with a single column to use in the denominator. It returns a dataframe
1 |
df |
Dataframe. Used first to be friendly to the %>% operator. |
numerator_cols |
A character vector of columns to be used in the numerator. |
denom_col |
A single string of the column name to be used in the denominator. |
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.