R/JitterModelParams.R
JitterModelParams.Rd
Add random white noise to the parameters of a model.
JitterModelParams( model, argsPCMParamLowerLimit = NULL, argsPCMParamUpperLimit = NULL, numJitterRootRegimeFit = 1000, sdJitterRootRegimeFit = 0.5, numJitterAllRegimeFits = 1000, sdJitterAllRegimeFits = 0.5, returnWithinBoundsOnly = TRUE, verbose = FALSE )
model | a PCM object. |
---|---|
argsPCMParamLowerLimit, argsPCMParamUpperLimit | named lists with
arguments passed to the functions |
numJitterRootRegimeFit, numJitterAllRegimeFits | integers specifying how
many initial parameter vectors should be generated by 'jittering' the
parameters of the root regime of a previously found fit
(such as a clade-fit), and by jittering all regime parameters.
Default: |
sdJitterRootRegimeFit, sdJitterAllRegimeFits | white noise standard
deviation. Default: |
returnWithinBoundsOnly | logical indicating if only vectors within the
boundaries specified by |
verbose | logical indicating if debug messages should be printed to the
console. Default: |
a numerical matrix, each row corresponding to a jittered parameter vector.