plot_SR: Plot stock-recruitment function

Description Usage Arguments Value Author(s)

View source: R/report_auxiliary.R

Description

Plot stock-recruitment (with recruitment deviations if estimated).

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
plot_SR(
  Spawners,
  expectedR,
  R0 = NULL,
  S0 = NULL,
  rec_dev = NULL,
  trajectory = FALSE,
  y_zoom = NULL,
  ylab = "Recruitment"
)

Arguments

Spawners

A vector of the number of the spawners (x-axis).

expectedR

A vector of the expected recruitment (from the stock-recruit function) corresponding to values of Spawners.

R0

Virgin recruitment.

S0

Virgin spawners.

rec_dev

If recruitment deviations are estimated, a vector of estimated recruitment (in normal space) corresponding to values of Spawners.

trajectory

Indicates whether arrows will be drawn showing the trajectory of spawners and recruitment deviations over time.

y_zoom

If recruitment deviations are plotted, the y-axis limit relative to maximum expected recruitment expectedR. If NULL, all recruitments are plotted.

ylab

Character string for label on y-axis.

Value

A stock-recruit plot

Author(s)

Q. Huynh


tcarruth/MSEtool documentation built on Oct. 19, 2020, 6:09 a.m.