Create a new covariate object.

covariate(name, label, unit = NULL, min = NULL, max = NULL, choices = NULL)

Arguments

name

the covariate name

label

the covariate label

unit

the unit, can be null

min

the minimum value, can be null

max

the maximum value, can be null

choices

a numeric named vector of choices, e.g. c(Fast=0, Slow=1)

Value

a tdmore_covariate object

See also