Description Usage Arguments Value
This function gives the types of a vector. It relies on is_numeric and is_date.
1 | which_type(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 character string giving the type of the input vector. Can be one of undefined, factor, numeric, logical and character
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.