Skip to contents

[Stable]

Declare covariates in the model that are in the data. Order in the model should be the same as the order in the data.

Usage

covariate(name, constant = FALSE)

Arguments

name

Name of the covariate in quotation marks.

constant

If FALSE (default), allow the covariate value to be linearly interpolated between values. NOTE that covariate values are only applied at the times of doses. Values on observation rows are ignored because a covariate value is an input, not an output. See the Data Objects article for details on this.