Create an IQRnlmeParamSpec object
specifyParamSampling.RdAn IQRnlmeParamSpec represents a named list with elements describing the model parameter estimates, the uncertainty distribution, the inter-individual variability distribution the covariate information, and the residual error. Objects of this class are should not be created, read or manipulated "by hand"; their only meaningful purpose is to be passed an argument spec of sampleParam* functions.
specifyParamSampling(
obj,
Nsamples = if (is_IQRnlmeParamSpec(obj)) obj$Nsamples else 1L,
Npop = if (is_IQRnlmeParamSpec(obj)) obj$Npop else if (FLAG_SAMPLE == 2) Nsamples else
1L,
FLAG_SAMPLE = 0,
data = NULL
)Arguments
- obj
a filename (character string) denoting the path to a GPF file, or a GPF object, or an IQRnlmeParamSpec object. If an IQRnlmeParamSpec object, a copy of this object is returned with updated values of the arguments.
- Nsamples
an integer specifying the number of sampled individuals (individual parameter sets) per one sampled set of population parameter values. Default:
if(is_IQRnlmeParamSpec(obj)) obj$Nsamples else 1L.- Npop
an integer specifying the number of sampled sets of population parameter values. Default:
if(is_IQRnlmeParamSpec(obj)) obj$Npop else if(FLAG_SAMPLE==2) Nsamples else 1L.- FLAG_SAMPLE
an integer flag used for setting default values for
NpopandNsamples. SeesampleIndParamValuesfor possible values. Note that the value passed here will be overwritten by the default or user-specified value passed insampleIndParamValues. Default:0.- data
a data.frame with covariate data. Default:
NULL.
Value
an object of S3 class IQRnlmeParamSpec.
See also
Random sampling of NLME model parameters
Other Parameter sampling:
calcIndParamValues(),
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(),
transformParamToNormal(),
untransformParamFromNormal()
Examples
if (FALSE) { # \dontrun{
#See the examples for sampleIndParamValues:
?sampleIndParamValues
} # }#'
