View source: R/add_all_units_as_group.R
add_all_units_as_group | R Documentation |
this add all units as a separate group, for grouped data
add_all_units_as_group(df, group_var, new_group_id = "")
df |
Data frame |
group_var |
the name of the var that defines groups |
new_group_id |
new id for the group that is composed of all units |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.