plotcMSY6: plotcMSY6 plots out a summary of the Catch-MSY results in 6...

View source: R/cMSY_funs.R

plotcMSY6R Documentation

plotcMSY6 plots out a summary of the Catch-MSY results in 6 graphs

Description

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.

Usage

plotcMSY6(cMSY, catch, label = NA)

Arguments

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

Value

nothing, but it does generate a plot to the screen

Examples

## 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)

haddonm/datalowSA documentation built on Nov. 5, 2023, 6:40 p.m.