View source: R/runSimulation.R
runFullSim | R Documentation |
Run full simulation from 1.October - 1.April
runFullSim(
mFit,
cFit,
catches,
nsim = 15000,
useEst = FALSE,
p = c(3.5, 13.87, 0.1)
)
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. |
object of type captoolSim
## 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.