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

View source: R/PCM.R

PCMGenerateModelTypesR Documentation

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 = 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


venelin/PCMBase documentation built on March 14, 2024, 8:24 p.m.