plotcMSY6 | R Documentation |
plotcMSY6 generates 6 graphs illustrating the array of rK parameter combinations and whether they were successful or not. That plot is coloured by how many trajectories across the initial depletion range were successful.
plotcMSY6(cMSY, catch, label = NA)
cMSY |
the list from running summcMSY on the output from run_cMSY |
catch |
the catch in each year |
label |
simply a text label for the y-axes; default = NA |
nothing, but it does generate a plot to the screen
## Not run:
data(invert)
fish <- invert$fish
glb <- invert$glb
reps <- 5000 # one would run at least 20000, preferably more
answer <- run_cMSY(fish,glb,n=reps,sigpR=0.04)
summcMSY <- summarycMSY(answer,fish,final=FALSE)
plotcMSY6(summcMSY,fish[,"catch"],label=glb$spsname)
summcMSY <- summarycMSY(answer,fish,final=TRUE)
str(summcMSY,max.level=1)
plotcMSY6(summcMSY,fish[,"catch"],label=glb$spsname)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.