Select and, optionally, rename parameters and covariates in a GPF

Select and, optionally, rename parameters and covariates in a GPF

select_FromGPF(
  obj,
  parameters = NULL,
  covariates = NULL,
  FLAGdropErrParameters = TRUE,
  filename = NULL
)

Arguments

obj

a GPF object, or a filepath, or a IQRnlmeProject directory, from which a GPF object can be loaded or generated. If not a GPF object, the constructor GPF will be called.

parameters

a (possibly named) character vector denoting model parameters to be selected. If NULL (default), all model parameters are selected.

covariates

a (possibly named) character vector.

FLAGdropErrParameters

Logical (default TRUE), indicating whether to drop error parameters such as "error_PROP1"

filename

Character filename (default NULL) where the resulting GPF object can (optionally) be saved.

Value

A GPF object.

Author

Venelin Mitov (IntiQuan)

Examples

if (FALSE) {
GPF_A_PD <- select_FromGPF(
  "../03-Models/A/PD/GPF_A_PD.xlsx",
  parameters = c("EC50xA"="EC50",
                 "EMAXxA"="EMAX",
                 "hillxA"="hill")
)
}