Convenience functions for model spec manipulation
addPar_modelSpec.Rdadd* functions create entries in the model spec if they do not yet exist and
overwrite entries if present. Please consider using print_modelSpec after
all manipulations to check if manipulations took the expected effect.
remove* functions remove entries from all places in the model specification.
addPar_modelSpec(
modelSpec,
parname,
value,
estimate = NULL,
distribution = NULL,
IIVvalue = NULL,
IIVestimate = NULL
)
addCov_modelSpec(
modelSpec,
parname,
covname,
value = NULL,
estimate = NULL,
center = NULL
)
addErr_modelSpec(modelSpec, output, value_abs = 0, value_rel = 0)
removePar_modelSpec(modelSpec, parname)
removeCov_modelSpec(modelSpec, parname, covname)
removeErr_modelSpec(modelSpec, output)Arguments
- modelSpec
model specification list, see modelSpec_IQRest.
- parname
character (for add functions), or character vector (for remove functions). The name of the parameter(s) to add or remove.
- value
numeric, value of the parameter.
- estimate
integer or NULL (default). 0 = fix, 1 = estimate,
NULL= auto.- distribution
character or NULL (default), "L" = log, "G" = logit, "N" = natural,
NULL= auto.- IIVvalue
numeric or NULL (default), value for standard deviation of the random effect.
- IIVestimate
integer or NULL (default), 0 = fix to zero, 1 = estimate, 2 = fix to IIVvalue,
NULL= auto.- covname
character (for add function), or character vector (for remove function).
- center
numeric, the reference value for the covariate. Attention: currently, it is not possible to have different center for different parmeters of the same covariate. When center is provided with the
addCovfunction, its current value will be overwritten.- output
character ("OUTPUT1", "OUTPUT2", etc) or numeric (1, 2, 3, etc.), pointing to the output for which the error model should be defined.
- value_abs
numeric, initial value of absolute error. If 0 (default), no absolute error is considered.
- value_rel
numeric, initial value of the relative error. If 0 (default), no relative error is considered.
Value
model specification list
See also
Other IQRnlmeProject:
IQRnlmeEst(),
IQRnlmeProject(),
addCovariateToModelSpec_IQRest(),
as_IQRnlmeProject(),
as_IQRnlmeProjectMulti(),
bootstrap_IQRnlmeProject(),
compareModels_IQRnlmeProjectMulti(),
convertETAINDIVPRED_IQRnlmeProject(),
covariateEffect_IQRnlmeProject(),
data_IQRest(),
dosing_IQRest(),
duplicate_IQRnlmeProject(),
eigenvalues_IQRnlmeProject(),
exportVirtualSubjects_IQRnlmeProject(),
getData_IQRnlmeProject(),
getETAs_IQRnlmeProject(),
getEst_IQRnlmeProject(),
getHeader_IQRnlmeProject(),
getIndivParameters_IQRnlmeProject(),
getIndivPredictions_IQRnlmeProject(),
getModel_IQRnlmeProject(),
getObsPred_IQRnlmeProject(),
getPopParameters_IQRnlmeProject(),
getResults_IQRnlmeProject(),
getResults_IQRnlmeProjectMulti(),
hasrun_IQRnlmeProject(),
hasrun_IQRnlmeProjectMulti(),
informationContent_IQRnlmeProject(),
is_IQRnlmeEst(),
is_IQRnlmeProject(),
is_IQRnlmeProjectMulti(),
is_MONOLIX_IQRnlmeProject(),
is_NLMIXR_IQRnlmeProject(),
is_NONMEM_IQRnlmeProject(),
modelSpec_IQRest(),
outlier_IQRnlmeProject(),
plot.IQRnlmeProject(),
plot.IQRnlmeProjectMulti(),
plotBLQVPC_IQRdataVPC(),
plotConvergence_IQRnlmeProject(),
plotETACOV_IQRnlmeProject(),
plotETA_IQRnlmeProject(),
plotGOF_IQRnlmeProject(),
plotINDIVSIM_IQRnlmeProject(),
plotINDIV_IQRnlmeProject(),
plotMEANSIM_IQRnlmeProject(),
plotVPC_IQRdataVPC(),
pred_IQRnlmeProject(),
print.IQRnlmeEst(),
print.IQRnlmeProject(),
print.IQRnlmeProjectMulti(),
print_modelSpec(),
run_IQRnlmeProject(),
run_IQRnlmeProjectMulti(),
sample_IQRnlmeProject(),
scm_IQRnlmeProject(),
summary.IQRnlmeProject(),
summary.IQRnlmeProjectMulti(),
summaryComments_IQRnlmeProjectMulti(),
summaryCorrelations_IQRnlmeProjectMulti(),
summaryCovariates_IQRnlmeProjectMulti(),
summaryParameters_IQRnlmeProjectMulti(),
vpc_IQRnlmeProject()
