count_levels | R Documentation |
Returns a vector of the number of levels of each variable in a data frame.
count_levels(df, all = FALSE)
df |
A data frame. |
all |
By default variables with no levels are omitted from the output. Set |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.