PCMListParameterizations: Specify the parameterizations for each parameter of a model

View source: R/PCM.R

PCMListParameterizationsR Documentation

Specify the parameterizations for each parameter of a model

Description

These are S3 generics. 'PCMListParameterizations' should return all possible parametrizations for the class of 'model'. 'PCMListDefaultParameterizations' is a handy way to specify a subset of all parametrizations. 'PCMListDefaultParameterizations' should be used to avoid generating too many model parametrizations which occupy space in the R-global environment while they are not used (see PCMGenerateParameterizations). It is mandatory to implement a specification for 'PCMListParameterizations' for each newly defined class of models. 'PCMListDefaultParameterizations' has a default implementation that calls 'PCMListParameterizations' and returns the first parametrization for each parameter. Hence, implementing a method for 'PCMListDefaultParameterizations' for a newly defined model type is optional.

Usage

PCMListParameterizations(model, ...)

PCMListDefaultParameterizations(model, ...)

Arguments

model

a PCM.

...

additional arguments used by implementing methods.

Value

a named list with list elements corresponding to each parameter in model. Each list element is a list of character vectors, specifying the possible S3 class attributes for the parameter in question. For an example, type 'PCMListParameterizations.BM' to see the possible parameterizations for the BM model.

See Also

PCMGenerateParameterizations


PCMBase documentation built on Nov. 18, 2022, 9:06 a.m.