Get parameter estimate values from a IQRnlmeParamSpec object.

Get parameter estimate values from a IQRnlmeParamSpec object.

getParamEstimates(
  spec,
  Npop = if (is.IQRnlmeParamSpec(spec)) spec$Npop else 1L
)

Arguments

spec

a filename (character string) denoting the path to a GPF excel file, or a GPF object, or an IQRnlmeParamSpec object.

Npop

integer denoting the number of populations to sample. Default: if(is.IQRnlmeParamSpec(obj)) obj$Npop else if(FLAG_SAMPLE==2) Nsamples else 1L.

Value

a data.frame of Npop (identical) rows with columns ID.POP and parameter value columns as follows:

X,Y...:

estimates for model parameters X,Y...

omega(X),omega(Y)...:

IIV estimates for model parameters X,Y,...

corr(X,Y),...:

IIV correlation estimates for model parameter pairs.

beta_X(COVRT1),beta_Y(COVRT2),...:

Covariate coefficient estimates.

error_PROP1,...:

Residual error estimates.

Details

This function has the same output format (data.frame with the same column names and number of rows) as sampleParamFromUncertainty.

See also