Specify variable type

Variable_Type

variable_type(type = NULL, levels = NULL, bounds = NULL, x = NULL,
  pcontinuous = getOption("sl3.pcontinuous"))

Arguments

type

A type name.

levels

Valid levels for discrete types.

bounds

Bounds for continous variables.

x

Data to use for inferring type if not specified.

pcontinuous

If type above is inferred, the proportion of unique observations above which variable is continuous

Format

An object of class R6ClassGenerator of length 24.