covariate: Create a new covariate object.

Description Usage Arguments Value See Also

View source: R/metadata.R

Description

Create a new covariate object.

Usage

1
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

Other metadata: formulation(), getDosingInterval(), getMetadataByClass(), getMetadataByName(), metadata(), output(), target()


tdmore-dev/tdmore documentation built on Jan. 1, 2022, 3:21 a.m.