plotdepletion: plotdepletion

View source: R/asmreduct.r

plotdepletionR Documentation

plotdepletion

Description

plotdepletion

Usage

plotdepletion(inreduct, defineplot = TRUE, refpts = c(0.2, 0.48))

Arguments

inreduct

the list object generated by asmreduction, containing the result of the age-structured stock reduction

defineplot

a boolean determining whether to define the pars for a plot or not. defaults to TRUE

refpts

a vector of two defining the limit and target reference points; defaults to 0.2 and 0.48

Value

nothing but it does generate a plot

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)
  plotprep(width=6, height=4)
  plotdeletion(reduct)

## End(Not run)

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