Growth.plots: Plots of fish size (and other quantities) at age

View source: R/Growth.plots.R

Growth.plotsR Documentation

Plots of fish size (and other quantities) at age

Description

The function Growth.plots provides plots of length, weight, and other quantities at age. Length is also plotted with confidence intervals if the CV of length at age is found. There is support for models with more than one growth curve, such as models that describe growth as varying by sex.

Usage

Growth.plots(
  x,
  DataName = deparse(substitute(x)),
  draft = TRUE,
  graphics.type = NULL,
  use.color = TRUE,
  units.length = x$info$units.length,
  units.weight = x$info$units.weight,
  plot.all = FALSE
)

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.length

Character string giving the units of measure associated with the lengths at age found in x$a.series$length.

units.weight

Character string giving the units of measure associated with weights at age found in x$a.series$weight.

plot.all

When TRUE, all columns in x$a.series are plotted against x$a.series$age.

Value

Graphics

Author(s)

M Prager

E Williams

K Shertzer

R Cheshire

K Purcell

Examples


Growth.plots(gag)


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