runFullSim: Run full simulation from 1.October - 1.April

View source: R/runSimulation.R

runFullSimR Documentation

Run full simulation from 1.October - 1.April

Description

Run full simulation from 1.October - 1.April

Usage

runFullSim(
  mFit,
  cFit,
  catches,
  nsim = 15000,
  useEst = FALSE,
  p = c(3.5, 13.87, 0.1)
)

Arguments

mFit

maturity fit object

cFit

consumption fit object

catches

catches data

nsim

Number of simulations

useEst

Logical, should the estimated maturity parameters be used or the default values.

p

numeric vector of length 3, p1,p2,p3 parameters.

Value

object of type captoolSim

Examples

## Not run: 
data(catch)
catches <- colSums(catch[catch$year == 2010, c("spring01", "spring05", "spring04")])
fSim <- runFullSim(mFit = mFit, cFit = cFit, cathces = catches, nsim = 15000)
plot(fSim)
## End(Not run)

IMRpelagic/bifrost documentation built on Oct. 17, 2023, 7:11 a.m.