spinup.FLIBM | R Documentation |
Spin up of inds in FLIBM object
spinup.FLIBM(obj, nyearsmax = 20, nyearsslope = 5, monitor = TRUE)
obj |
FLIBM object |
nyearsmax |
numeric. Maximum number of years for spin-up (Default=20) |
nyearsslope |
numeric. Number of years for used to determin if spawning- stock biomass is in equilibrium (via linear model of log SSB) (Default=5). |
monitor |
logical. Should progression be printed. |
FLIBM object
stk <- create.FLIBM()
round(sum(stk$inds$wt * stk$inds$mat),3)
nrow(stk$inds)
stk <- spinup.FLIBM(stk)
round(sum(stk$inds$wt * stk$inds$mat, na.rm=TRUE),3)
nrow(stk$inds)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.