| .rename_last_group_as_variable | R Documentation | 
In the ard_hierarchical*() functions, the last grouping variable is
renamed to variable and variable_level before being returned.
.rename_last_group_as_variable(df_result)
| df_result | ( | 
an ARD data frame of class 'card'
data <- data.frame(x = 1, y = 2, group1 = 3, group2 = 4)
cards:::.rename_last_group_as_variable(data)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.