simulate_parameters: simulate all unknowns in the MSE

Description Usage Arguments Value Method

View source: R/simulate_parameters.R

Description

Currently only simulate stock recruitment parameters and other food. See Method section below for more details

Usage

1
2
3
4
5
6
simulate_parameters(
  seed = NULL,
  stockRecruitParams = darwinData,
  simulationRules = darwinRules,
  SRFunctionChoice = NULL
)

Arguments

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)

Value

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 recType in hydradata::hydraDataList

Method

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


andybeet/hydramse documentation built on April 16, 2021, 5:23 a.m.