plotreduction | R Documentation |
plotreduction generates a summary plot of the output from an age-structured stock reduction produced by the asmreduction function, which in turn relies on the dynamics function from the aspm within the datalowSA package.
plotreduction(inreduct, defineplot = TRUE, refpts = c(0.2, 0.48))
inreduct |
the list object generates by asmreduction |
defineplot |
boolean which determines whether a par statement is made or not. default = TRUE. |
refpts |
a vector of two defining the limit and target reference points; defaults to 0.2 and 0.48 |
outputs the stats from any projection period. also produces a 3,1 plot of FullH, spawning biomass, and depletion for the input stock reduction
## Not run:
data(orhdat1)
fish <- orhdat1$fish # 19 years of data
glb <- orhdat1$glb
props <- orhdat1$props
inR0 <- seq(12.0,14.2,0.02)
limitH <- c(0.25,0.5)
glb$M <- 0.032
glb$steep <- 0.6
reduct <- asmreduction(inR0,fish,glb,props,limitH=limitH)
plotprep(width=6,height=5.5)
plotreduction(reduct)
## End(Not run) # inreduct=reduct; defineplot=TRUE
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.