PCMBase (version 1.2.10)

PCMGenerateModelTypes: Generate default model types for given PCM base-classes

Description

This function calls `PCMListParameterizations` or `PCMListDefaultParameterizations` and generates the corresponding `PCMParentClasses` and `PCMSpecify` methods in the global environment.

Usage

PCMGenerateModelTypes(baseTypes = c("BM", "OU"),
  parametrizations = c("default", "all"), sourceFile = NULL)

Arguments

baseTypes

a character vector specifying base S3-class names for which the default parametrizations (sub-classes) will be generated. Defaults to `c("BM", "OU")`.

parametrizations

a character string specifying which one of `PCMListParameterizations` or `PCMListDefaultParameterizations` should be used. This argument should be one of:

  • "all"for calling `PCMListParameterizations`

  • "default"for calling `PCMListDefaultParameterizations`

sourceFile

NULL or a character string indicating a .R filename, to which the automatically generated code will be saved. If NULL (the default), the generated source code is evaluated and the S3 methods are defined in the global environment. Default: NULL.

Value

This function has side effects only and does not return a value.

See Also

PCMListDefaultParameterizations