Description Usage Arguments Value
This function tests if a vector is of type categorial (factor, character or boolean).
1 | is_categorical(x, numeric_cutoff = -1)
|
x |
a vector |
numeric_cutoff |
the minimum number of distinct values required for a numeric vector not to be coerced to a fator. -1 is the default, meaning no minimum required. |
a logical
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.