is_categorical | R Documentation |
Determines whether the given object is categorical, defined as a character vector, a factor, or 'NULL'.
is_categorical(x)
x |
An object to check. |
A logical value: 'TRUE' if 'x' is a character vector, a factor, or 'NULL'; otherwise, 'FALSE'.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.