View source: R/helper_functions.R
get_unique_variables_by_level | R Documentation |
Find which variables are unique at a given level in hierarchical data
get_unique_variables_by_level(data, ID_label, superset = NULL)
data |
a data.frame |
ID_label |
the ID label to split upon |
superset |
Superset contains a vector of character strings that contain variables the modify level call is going to write. Some of these may be columns in the data frame, others might not be. If superset is specified, then we definitely only want to check those variables |
a character vector enumerating the unique variables
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.