PerRec.plots: Per-recruit plots

View source: R/PerRec.plots.R

PerRec.plotsR Documentation

Per-recruit plots

Description

The function PerRec.plots generates plots of quantities on a per-recruit basis as a function of fishing mortality rate F.

Usage

PerRec.plots(
  x,
  DataName = deparse(substitute(x)),
  draft = TRUE,
  graphics.type = NULL,
  use.color = TRUE,
  units.ypr = x$info$units.ypr,
  user.PR = NULL,
  user.lab = NULL,
  user.xmax = 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.ypr

A character string (e.g. "pounds") used in labeling the plot of yield per recruit.

user.PR

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

user.lab

A list of labels to be used as the y-axis label for the user supplied PR

user.xmax

A user specified maximum value for the x-axis of the plots

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


PerRec.plots(gag)


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