Create a new covariate object.
covariate(name, label, unit = NULL, min = NULL, max = NULL, choices = NULL)
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) |
a tdmore_covariate object
Other metadata:
formulation()
,
getDosingInterval()
,
getMetadataByClass()
,
getMetadataByName()
,
metadata()
,
output()
,
target()