Description Usage Arguments Examples
This function creates a proportion column based on a column specified.
1 | prop_column(df, col)
|
df, col |
a data frame and a column name |
1 | mtcars %>% count(cyl, disp) %>% arrange(desc(n)) %>% prop_column(n)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.