asmreduction | R Documentation |
asmreduction conducts an age-structured stock reduction based on R functions out of the datalowSA package.
asmreduction(inR0, fish, glb, props, limitH = c(0, 1), projyr = 0, constC = 0)
inR0 |
the trial value of unfished recruitment R0 |
fish |
a data.frame containing the year and catch in each year |
glb |
the global variables defined in the data structures for datalowSA |
props |
the biological properties of the species, including length-, weight-, maturity-, and selectivity-at-age |
limitH |
a vecotr of two numbers denoting the lowest and highest values of the maximum harvest rate the stock is assumed to have experienced. |
projyr |
number of years fo projecting at a constant catch. If set to 0 the contents of constC are ignored |
constC |
the constant catch to apply in the projections |
a list containing a summary matrix, and the full results for fully selected harvets rate, the spawning biomass, the depletion, and the explotiable biomass in each trajectory.
## 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)
str(reduct,max.level = 1)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.