Remove Covariate from PML models
remove_Covariate.RdRemove Covariate from PML models
Arguments
- PMLParametersSets
A list of PML parameters sets (
PMLModelsclass instance).- Name
Character specifying the name of the covariate to be removed.
- StParmNames
Character or character vector specifying names of structural parameters from which the covariate will be removed. Can be set to
NULLor not specified, for such case the covariate will be removed from all structural parameters.- PMLStructures
Character or character vector specifying names of PML structures from which the covariate will be removed. For the naming convention of PMLStructures, see Details section of see details section of
get_PMLParametersSets().
Details
The current functionality does not support removing custom covariates that are defined within the PML code of custom model spaces.
See also
Functions used for Covariate specification:
Covariate(),
add_Covariate(),
create_ModelPD(),
create_ModelPK()
Examples
PMLParametersSets <- get_PMLParametersSets()
PMLParametersSetsWT <-
add_Covariate(PMLParametersSets,
Name = "WT",
Type = "Continuous",
State = "Present",
Direction = "Forward",
Center = 70)
PMLParametersSetsVonly <-
remove_Covariate(PMLParametersSets = PMLParametersSetsWT,
Name = "WT",
StParmNames = "Cl")