Adds a secondary parameter to model definition
addSecondary.Rd
Adds a secondary parameter to model definition
Usage
addSecondary(.Object, name, definition, unit = "")
# S4 method for class 'NlmePmlModel'
addSecondary(.Object, name, definition, unit = "")
Value
Depends on the specific methods
Returns the 'NlmePmlModel' object with the added secondary parameter.
Functions
addSecondary(NlmePmlModel)
: Method for the 'NlmePmlModel' classThis method adds a secondary parameter to the NlmePmlModel object. It checks for duplicate parameter names, and if there is no duplicate, it adds the new secondary parameter to the object and updates the PML model.
Examples
# \donttest{
model <- addSecondary(model, "Spc_Param", "log(2)/tvKe")
#> Error in h(simpleError(msg, call)): error in evaluating the argument '.Object' in selecting a method for function 'addSecondary': object 'model' not found
model <- addSecondary(
model, "Tmax",
"CalcTMax(tvA,tvAlpha,tvB,tvBeta,C,Gamma)"
)
#> Error in h(simpleError(msg, call)): error in evaluating the argument '.Object' in selecting a method for function 'addSecondary': object 'model' not found
# }