Selectivity.plots: Estimated selectivity curves

View source: R/Selectivity.plots.R

Selectivity.plotsR Documentation

Estimated selectivity curves

Description

The function Selectivity.plots generates plots of selectivity curves at age and length.

Usage

Selectivity.plots(
  x,
  DataName = deparse(substitute(x)),
  draft = TRUE,
  graphics.type = NULL,
  use.color = TRUE,
  plot.points = TRUE,
  units.length = x$info$units.length,
  units.age = x$info$units.age,
  compact = FALSE,
  legend.pos = "right"
)

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

plot.points

A logical values; if TRUE, points will be plotted on curves.

units.length

A text string (e.g. "mm") used in labeling plots of selectivity at length.

units.age

A text string (e.g. "years") used in labeling plots of selectivity at age.

compact

When TRUE, time-varying selectivity curves are placed on a single plot per fishery.

legend.pos

A text string compatible with the legend function of R. Defines the position of the legend (ex. "bottomright", "bottom", etc.). Applies only if compact = TRUE.

Value

Graphics

Author(s)

M Prager

E Williams

K Shertzer

R Cheshire

K Purcell

Examples


Selectivity.plots(gag)


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