Rename/pick parameters and covariates in a GPF

Rename/pick parameters and covariates in a GPF

generate_GPFFromProjectInfo(
  projectInfo,
  filename = NULL,
  FLAGdropErrParams = TRUE
)

Arguments

projectInfo

A GPFprojectInfo, i.e. a list(projectPath, indPars_select, popPars_select, cov_select)

filename

File to write the GPF to

FLAGdropErrParams

Flag whether to drop error parameters such as "error_PROP1" (defaults to TRUE)

Value

GPF

See also

Examples

if (FALSE) { projPath <- system.file("examples/GPFExamples/project3_Epo", package = "IQRtools") projectInfo <- GPFprojectInfo(projPath) xls_fromProject <- generate_GPFFromProjectInfo(projectInfo, FLAGdropErrParams = TRUE) # Rename parameters to parameter_X1 with indPars_select pars <- getPopParameters_IQRnlmeProject(projPath) projectInfo <- GPFprojectInfo(projPath, indPars_select = setNames(names(pars), paste0(names(pars), "_X1"))) xls_fromProject <- generate_GPFFromProjectInfo(projectInfo, FLAGdropErrParams = TRUE) }