Description Usage Arguments Value
This function checks if a vector x is categorical. A vector is considered categoriacl if it is of type numericwith less than min_unique unique values (defaults to 15) or it is a character or a factor or a logical.
| 1 | is_type_cat(x, min_unique = 15)
 | 
| x | a vector | 
| min_unique | the minimal number of unique values for a numeric vector to be describe as a numeric vector and not as a categorical vector. Defaults to 15. | 
a logical, TRUE if categorical, FAlSE otherwise
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.