addLabel {Certara.RsNLME} | R Documentation |
Add levels and labels to categorical or occasion covariate
Description
Allows users to specify the name and the associated value for each category/occasion of a categorical/occasion covariate in a textual model object. Only applicable to the case where the corresponding input data column of a categorical/occasion covariate is of class character.
Usage
addLabel(.Object, covariate, levels, labels)
Arguments
.Object |
Model object |
covariate |
Existing covariate name |
levels |
Unique values of categorical or occasion covariate column specified as numeric vector |
labels |
Unique values specifying corresponding label names for levels of categorical or occasion covariate column in data specified as character vector. |
Value
Modified NlmePmlModel
object
Examples
model <- addLabel(model, covariate, c(1, 2, 3), c("a", "b", "c"))
[Package Certara.RsNLME version 3.0.1 Index]