doconstC | R Documentation |
doconstC merely combines the functions gettraject, doproject, makedeplet, and plotconstC to simplify the process of conducting projections using constant catches. Compare this with separately using the functions gettraject, doproject, makedeplet, and plotconstC in sequence, which is all that dococnstC does.
doconstC(
inR1,
projn = 5,
constCatch = 100,
lastyear = 2017,
limit = 0.2,
target = 0.48,
console = TRUE,
intensity = NA
)
inR1 |
the R1 object that is within the list generated by run_cMSY. |
projn |
the number of years of projection with a default of 5 |
constCatch |
the constant catch to be applied to each successful trajectory |
lastyear |
the final year of the known catches and biomass trajectories |
limit |
the depletion level acting as the limit referencepoint |
target |
the depletion level used as a biomass target for the species. |
console |
logical, should results be printed to the console. Default =TRUE |
intensity |
the value that defines the density of trajectories required to give rise to full colour; default = NA which implies grey |
a matrix of the all years with the proportion < 20 proportion > 48 the proportion of trajectories that were increasing relative to the lastyear of data.
## Not run:
data(invert)
fish <- invert$fish
glb <- invert$glb
reps <- 10000 # one would run at least 20000, preferably more
answer <- run_cMSY(fish,glb,n=reps,sigpR=1e-6)
out <- doconstC(answer$R1,projn=5,constCatch=150,lastyear=2017,
limit=0.2,target=0.4)
str(out)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.