Assert a variable exists in the model
Usage
assertVariableExists(ui, x)
testVariableExists(ui, x)
Arguments
- ui
rxode2 ui model
- x
does the x variable exist in the model. If it is a
vector of variable check to see if any exists, but all must be
valid nlmixr2 variable names
Value
variable that matches, in the case of multiple variables,
the first that matches. If nothing matches return error