PCMParamGetShortVector: Get a vector of the variable numeric parameters in a model

View source: R/PCMParam.R

PCMParamGetShortVectorR Documentation

Get a vector of the variable numeric parameters in a model

Description

The short vector of the model parameters does not include the nodes in the tree where a regime change occurs, nor the the model types associated with each regime.

Usage

PCMParamGetShortVector(o, k = 1L, R = 1L, ...)

Arguments

o

a PCM model object or a parameter of a PCM object

k

an integer denoting the number of modeled traits. Default: 1.

R

an integer denoting the number of regimes in the model. Default: 1.

...

other arguments that could be used by implementing methods.

Value

a numeric vector of length equal to 'PCMParamCount(o, FALSE, FALSE, 0L, k, R)'.


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