Description Usage Arguments Value
View source: R/JitterModelParams.R
Add random white noise to the parameters of a model.
1 2 3 4 5 6 7 8 9 10 11 | 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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.