guess_cat_num | R Documentation |
Guess if variable is categorical or numerical based on name, type and values of variable
guess_cat_num(var, descr)
var |
A vector (dataframe column) |
descr |
A description of the variable (optional) |
"cat" (categorical), "num" (numerical) or "oth" (other)
guess_cat_num(iris$Species)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.