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

PCMGenerateModelTypes(
  baseTypes = list(BM = "default", OU = "default", White = "all"),
  sourceFile = NULL
)

Arguments

baseTypes

a named list with character string elements among c("default", "all") and names specifying base S3-class names for which the parametrizations (sub-classes) will be generated. Defaults to list(BM="default", OU = "default", White = "all"). The element value specifies which one of `PCMListParameterizations` or `PCMListDefaultParameterizations` should be used:

  • "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