Description Usage Arguments Value Examples
View source: R/23_prob_rebuilt_goal.R
function that calculates the probability of recovery (in terms of 1+ numbers) to MNPL (or other population size) at rebuilt.yr
years
1 | prob_rebuilt_goal(traj, goal = 2000, rebuild.yr = 100)
|
traj |
a matrix of trajectories, with rows=nsims and cols=nyears |
goal |
rebuilding goal as an absolute number of animals |
rebuild.yr |
the year by which you want pop to be recovered (calculate probability that pop will recover to MNPL by rebuild.yr) |
- the probability that the stock will be rebuilt to the goal population size by year rebuilt.yr
1 2 3 4 5 6 7 8 9 10 11 12 13 | lh.params <- list(
S0 = 0.944, S1plus = 0.99,
AgeMat = 17,
nages = 19, z = 2.39,
lambdaMax = 1.04, K1plus = 9000
)
Projection <- projections(
NOut = 100,
ConstantBycatch = list(Catch = 40, CV = 01),
InitDepl = 0.3,
lh.params = lh.params,
nyears = 40, obs_CV = 0.2
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.