Load (or store) a PCM parameter from (or to) a vector of the variable parameters in a model.

PCMParamLoadOrStore(o, vecParams, offset, k, R, load, parentModel = NULL)

## Arguments

o a PCM model object or a parameter of a PCM object a numeric vector. an integer denoting an offset count from which to start counting (internally used). Default: 0. an integer denoting the number of modeled traits. Default: 1. an integer denoting the number of regimes in the model. Default: 1. logical indicating if parameters should be loaded from vecParams into o (TRUE) or stored to vecParams from o (FALSE). NULL or a PCM object. Default: NULL.

## Value

an integer equaling the number of elements read from vecParams. In the case of type=="custom", the number of indices bigger than offset returned by the function indices(offset, k).

## Details

This S3 generic function has both, a returned value and side effects.