summarycMSY: summarycMSY makes tables of msy,r,K,meanr,meanK,and all picks

View source: R/cMSY_funs.R

summarycMSYR Documentation

summarycMSY makes tables of msy,r,K,meanr,meanK,and all picks

Description

summarycMSY generates a list of countcolour, meanmsy, meanr, meanK, r, K, msy, pickC (a list of pickblk, pickblu, pickyel,pickmax, rnot, knot), and years

Usage

summarycMSY(ans, fish, final = TRUE)

Arguments

ans

the object output from run_cMSY

fish

the input data often named fish

final

whether or not to consider the first phase or the final phase, the default is TRUE, which considers the final phase

Value

a list of 12 objects used to summarize and plot the output. Returned invisibly; need to first allocate to an object.

Examples

## Not run: 
data(invert)
fish <- invert$fish
glb <- invert$glb

nyr <- length(fish$year)
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=TRUE)
str(summcMSY,max.level=1)

## End(Not run)

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