Observation {Certara.RDarwin} | R Documentation |
Create an instance of Observation class.
Description
This function creates a new instance of Observation object and validates it.
Usage
Observation(
ObservationName = "CObs",
SigmasChosen = Sigmas(Proportional = 0.1),
BQL = FALSE,
BQLValue = NA,
Frozen = FALSE,
ResetObs = FALSE,
Covariates = list(),
PMLStructure = character()
)
Arguments
ObservationName |
A character string giving the name of the Observation. |
SigmasChosen |
a Sigmas class instance or a list specifying the chosen sigma values for different error models. 0s are treated as no values. Inside Observation class it is transormed and kept as Sigmas class. The list could contain the following error models:
|
BQL |
A logical value indicating whether the dataset contains BQL values and they should be taken into account (M3 method). |
BQLValue |
An optional numeric positive value of static LLOQ. Applicable
only when BQL argument is |
Frozen |
A logical value indicating if the standard deviation (Stdev) is frozen. |
ResetObs |
A logical value indicating if the Observation variable should
be reset to 0 after observation ( |
Covariates |
A list of covariates ( |
PMLStructure |
Character specifying the name of PML structure in which
the observation should be added. For the naming convention of
PMLStructures, see Details section of |
Value
A new Observation object
See Also
Functions used for Observation specification:
ObservationCustom()
,
Sigmas()
,
create_ModelPD()
,
create_ModelPK()
,
modify_Observation()
,
remove_Observation()
Examples
A0Obs <-
Observation(ObservationName = "A0Obs",
SigmasChosen = list(Additive = 2,
Power = c(Stdev = 10, Power = 0.5)),
Frozen = FALSE,
ResetObs = TRUE,
PMLStructure = "PK1FOC")
CObs <- Observation("CObs", Frozen = TRUE, PMLStructure = "2Cpt")