View source: R/transform-hmisc.R
hmisc_data_type | R Documentation |
Determine data type of a vector loosely consistent with Hmisc.
hmisc_data_type(x, category_threshold = NA)
x |
Vector to determine type of |
category_threshold |
The upper threshold of unique values for which a vector is considered categorical. |
One of the following strings: Binomial, Categorical, or Numerical.
hmisc
hmisc_data_type(c(1,2,3)) hmisc_data_type(factor(c("A","B","C"))) hmisc_data_type(factor(c("A","B","B","A"))) hmisc_data_type(factor(c(TRUE, FALSE, TRUE, FALSE)))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.