Description Usage Arguments Value Method
View source: R/simulate_parameters.R
Currently only simulate stock recruitment parameters and other food. See Method section below for more details
1 2 3 4 5 6 | simulate_parameters(
seed = NULL,
stockRecruitParams = darwinData,
simulationRules = darwinRules,
SRFunctionChoice = NULL
)
|
seed |
Integer. Set seed for testing or reproducability. Default = NULL |
stockRecruitParams |
Data set similar to lazily loaded darwinData dataset |
simulationRules |
Set of rules set up similar to lazily loaded darwinRules dataset |
SRFunctionChoice |
Numeric Vector. Whether the Stock recruitment function for each species should be piecewise model (hockey, generalized,= 0) or shepherd (1) or a random choice of either (Default = NULL) |
List
otherFood |
simulated value of otherFood variable |
alphaShepherd |
simulated value of alpha for the shepherd model |
betaShepherd |
simulated value of beta for the shepherd model |
shapeShepherd |
value of the shape parameter. Predefined by user in darwinRules$SRType |
alphaHockey |
simulated value of alpha (slope) for the hockey stick model |
betaHockey |
simulated value of beta (-alpha) for the hockey stick model |
shapeHockey |
simulated value of the breakpoint for the hockey stick model |
alphaSegmented |
simulated value of alpha (slope) for the generalized segmented model |
betaSegmented |
simulated value of beta (change in the slope) for the generalized segmented model |
shapeSegmented |
simulated value of breakpoint for the generalized segmented model |
recSigma |
Values of sigma to be used in Hydra for each species/stock recruitment function chosen |
recType |
Denotes the form of the SR model used in Hydra. see field |
Methods and darwinRules
dataset are described in the vignette simulation_documentation
The data set darwinData
is defined in ?darwinData
and explained futher in the vignette darwinData_explained
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.