hmisc_data_type: Determine data type of a vector loosely consistent with...

Description Usage Arguments Value Examples

View source: R/transform-hmisc.R

Description

Determine data type of a vector loosely consistent with Hmisc.

Usage

1
hmisc_data_type(x, category_threshold = NA)

Arguments

x

Vector to determine type of

category_threshold

The upper threshold of unique values for which a vector is considered categorical.

Value

One of the following strings: Binomial, Categorical, or Numerical.

Examples

1
2
3
4

tangram documentation built on June 5, 2018, 1:04 a.m.