Covariate {Certara.RDarwin} | R Documentation |
Create a new Covariate object and validate it
Description
Create a new Covariate object and validate it
Usage
Covariate(
Name = character(),
Type = "Continuous",
StParmName = character(),
State = "Present",
Direction = "Forward",
Center = "None",
Categories = c(),
Thetas = c(),
Omegas = c(),
PMLStructure = character()
)
Arguments
Name |
Character specifying the name of the covariate. |
Type |
A character specifying the type of the covariate. Possible values are:
|
StParmName |
A character specifying the corresponding structural parameter name. |
State |
A character string representing the presence of the covariate on the structural parameters. Possible values are:
|
Direction |
A character string representing the direction of the
Covariate. Options are |
Center |
A character string ( |
Categories |
A numeric vector representing the categories (at least two)
of the covariate. Applicable only if |
Thetas |
A list of Theta objects representing Thetas covariate effects.
Only applicable if |
Omegas |
A list of Omega objects representing the Omegas of
the inter-occasion random effects. Applicable only if |
PMLStructure |
PML structure current Covariate instance belongs to. |
Value
A Covariate object
See Also
Functions used for Covariate specification:
add_Covariate()
,
create_ModelPD()
,
create_ModelPK()
,
remove_Covariate()
Examples
WT_Covariate <-
Covariate(Name = "WT",
Type = "Continuous",
StParmName = "V",
State = "Present",
Direction = "Forward",
Center = 70,
Thetas = Theta("dVdWT", 1))
Race_Covariate <-
Covariate(
Name = "Race",
Type = "Categorical",
StParmName = "V2",
State = "Searched",
Direction = "Backward",
Center = "None",
Categories = c(1,2,3))