Description Usage Arguments Value Examples
A list is created that contains a x_chr for each factor variable containing all unique factor levels
1 | get_df_fct_lvls(df, xtabs = FALSE)
|
df |
a data.frame with 1+ factor variables |
A list with length equal to the number of factor variables in df.
1 2 | get_df_fct_lvls(iris, xtabs=TRUE)
get_df_fct_lvls(forcats::gss_cat, xtabs=TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.