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

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