asmreduction: asmreduction conducts an age-structured stock reduction

View source: R/asmreduct.r

asmreductionR Documentation

asmreduction conducts an age-structured stock reduction

Description

asmreduction conducts an age-structured stock reduction based on R functions out of the datalowSA package.

Usage

asmreduction(inR0, fish, glb, props, limitH = c(0, 1), projyr = 0, constC = 0)

Arguments

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

Value

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.

Examples

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

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