powered by
Guess if variable is categorical or numerical based on name, type and values of variable
guess_cat_num(var, descr)
"cat" (categorical), "num" (numerical) or "oth" (other)
A vector (dataframe column)
A description of the variable (optional)
guess_cat_num(iris$Species)
Run the code above in your browser using DataLab