Eq.plots: Equilibrium-recruitment plots

View source: R/Eq.plots.R

Eq.plotsR Documentation

Equilibrium-recruitment plots

Description

The function EqRec.plots generates plots of quantities at equilibrium as a function of fishing mortality rate F. Its operation is similar to that of function PerRec.plots. It exists to allow the analyst's model to examine, in two potentially different resolutions, quantities that vary with F.

Usage

Eq.plots(
  x,
  DataName = deparse(substitute(x)),
  draft = TRUE,
  graphics.type = NULL,
  use.color = TRUE,
  units.L = x$info$units.landings[1],
  units.SSB = x$info$units.ssb[1],
  units.B = x$info$units.biomass[1],
  units.D = x$info$units.discards[1],
  units.Y = x$info$units.yield[1],
  units.R = x$info$units.rec[1],
  user.Eq = NULL,
  legend.pos = "topright",
  F.references = NULL
)

Arguments

x

an R list with output from the assessment models.

DataName

string used in plot titles. Defaults to argument x.

draft

modifies plots for use in a report. When FALSE main titles are omitted.

graphics.type

a vector of graphics file types to which graphics are saved. When NULL, no plots are saved.

use.color

plots are made in grayscale when FALSE

units.L

A character string (e.g. "pounds" for labeling the plot of equilibrium landings.

units.SSB

A character string for labeling the plot of equilibrium spawning biomass.

units.B

A character string used in labeling the plot of equilibrium biomass.

units.D

A character string used in labeling the plot of equilibrium discards.

units.Y

A character string used in labeling the plot of equilibrium yield.

units.R

A character string used in labeling the plot of equilibrium recruitment.

user.Eq

A list whose elements are names of additional columns of x$eq.series to be plotted against F.

legend.pos

A text string compatible with the legend function of R. Defines the position of the legend (ex. "bottomright", "bottom", etc.)

F.references

A list of character-string vectors to specify reference points to appear on F plots.

Value

Graphics

Author(s)

M Prager

E Williams

K Shertzer

R Cheshire

K Purcell

Examples


Eq.plots(gag)


rcheshire/FishGraph documentation built on Feb. 23, 2024, 11:27 a.m.