Get the names of the covariates in IQRnlmeParamSpec object

Get the names of the covariates in IQRnlmeParamSpec object

getNamesCovariates(obj, FLAGunique = TRUE, FLAGparamNames = !FLAGunique)

Arguments

obj

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

FLAGunique

logical (default TRUE) indicating if a vector of unique parameter names should be returned.

FLAGparamNames

logical (default !FLAGunique). If TRUE and FLAGunique is FALSE, then the returned character vector is named with the corresponding names of the parameters affected by each covariate. This argument is meaningless if FLAGunique is TRUE.

Value

a character vector. If FLAGunique is set to FALSE the vector contains the names of the covariates in the order of their corresponding covariate parameters (betas) in the estimates sheet of the GPF-file. If FLAGparamNames is TRUE and FLAGunique is FALSE, then the returned vector is named with the names of the corresponding model parameters.

Author

Venelin Mitov, IntiQuan