F.time.plots: Plots of fishing mortality rate over time

F.time.plotsR Documentation

Plots of fishing mortality rate over time

Description

The routine F.time.plots provides time plots of fishing mortality rate F over time. Plots are of absolute estimated F and F relative to various reference points. Through the argument F.references, arbitrary reference points can be included in plots, one by one or together.

Usage

F.time.plots(
  x,
  DataName = deparse(substitute(x)),
  draft = TRUE,
  start.drop = 0,
  graphics.type = NULL,
  use.color = TRUE,
  legend.pos = "topleft",
  F.references = NULL,
  F.additional = 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.

start.drop

Number of years at the start of the data to be omitted from plots, as when a model includes an initialization period.

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

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.

F.additional

A vector of character-string names specifying additional F metrics to be plotted. An extension of *.ratio indicates that the metric is a relative measure.

Value

Graphics

Author(s)

M Prager

E Williams

K Shertzer

R Cheshire

K Purcell

Examples


F.time.plots(gag)


rcheshire/FishGraph documentation built on Aug. 17, 2024, 5:34 p.m.