PCMDefaultObject: Generate a default object of a given PCM model type or...

View source: R/PCM.R

PCMDefaultObjectR Documentation

Generate a default object of a given PCM model type or parameter type

Description

This is an S3 generic. See, e.g. 'PCMDefaultObject.MatrixParameter'.

Usage

PCMDefaultObject(spec, model, ...)

Arguments

spec

any object having a class attribute. The value of this object is not used, but its class is used for method-dispatch.

model

a PCM object used to extract attributes needed for creating a default object of class specified in class(spec), such as the number of traits (k) or the regimes and the number of regimes;

...

additional arguments that can be used by methods.

Value

a parameter or a PCM object.


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