Skip to contents

This function lists the names of covariates in a given set of PMLParametersSets.

Usage

list_Covariates(PMLParametersSets, IncludeAll = FALSE, IncludeCustom = TRUE)

Arguments

PMLParametersSets

A list of PML parameters sets (PMLModels class instance).

IncludeAll

Logical. Should the names of covariates with None state or covariates inside structural parameters with None state be included or not.

IncludeCustom

Logical. Should the names of covariate, fcovariate and interpolate statements (from the PML code of custom spaces) be included or not. Default is TRUE.

Value

A character vector containing the names of covariates.

Examples

PMLParametersSets <- get_PMLParametersSets()
PMLParametersSets <- add_Covariate(PMLParametersSets,
                                   Name  = "WT")
list_Covariates(PMLParametersSets)
#> [1] "WT"