Calculate individual parameter values by applying sampled random effects to typical individual parameter values
calcIndParamValues.Rd
Calculate individual parameter values by applying sampled random effects to typical individual parameter values
calcIndParamValues(spec, typicalIndParamValues, randomEffects)
Arguments
- spec
a filename (character string) denoting the path to a GPF excel file, or a GPF object, or an IQRnlmeParamSpec object.
- typicalIndParamValues
a data.frame specifying typical individual parameter values on an original (not transformed to normal) scale for the model parameters in
spec
. Apart from the parameter columns, this data.frame should have anID.POP
and anID
column corresponding to the columnsID.POP
andID
inrandomEffects
. This data.frame should have the same number of rows asrandomEffects
. SeecalcTypicalIndParamValues
.- randomEffects
a data.frame specifying random effect values on a normal (transformed) scale for the model parameters in
spec
. Apart from the parameter columns, this data.frame should have anID.POP
and anID
integer columns corresponding to population id and individual id within a population respectively. SeesampleRandomEffects
.
Value
a data.frame with the same column names as the arguments typicalIndParamValues
and randomEffects
. The individual parameter values in this data.frame are on
the original scale (not transformed to a normal scale).
See also
Random sampling of NLME model parameters
Other Parameter sampling:
calcTypicalIndParamValues()
,
combineGPF()
,
generate_GPFFromIQRnlmeEst()
,
generate_GPFFromIQRnlmeProject()
,
generate_GPFFromProjectInfo()
,
generate_GPFFromProjectInfoList()
,
getCorMatrixUncertainty()
,
getCovMatrixIIV()
,
getCovMatrixUncertainty()
,
getNamesAllParameters()
,
getNamesCovariateParameters()
,
getNamesCovariates()
,
getNamesErrorParameters()
,
getNamesIIVCorrParameters()
,
getNamesIIVParameters()
,
getNamesModelParameters()
,
getParamEstimates()
,
getParamTransformationTypes()
,
imputeTYPEcol_GPF()
,
is_GPF()
,
is_IQRnlmeParamSpec()
,
read_GPFFromCSV()
,
read_GPFFromXLS()
,
sampleIDs()
,
sampleIndParamValues()
,
sampleParamFromUncertainty()
,
sampleRandomEffects()
,
sample_GPF()
,
select_FromGPF()
,
specifyParamSampling()
,
transformParamToNormal()
,
untransformParamFromNormal()
Examples
if (FALSE) { # \dontrun{
#See the examples for sampleIndParamValues:
?sampleIndParamValues
} # }
if (FALSE) { # \dontrun{
# See examples in \code{\link{sampleIndParamValues}}.
} # }