Plot length-weight and length-at-age

plot_biology(data, parameters, dir = NULL, plot = 1:2, height = 7, width = 7)

Arguments

data

Dataframe of specimens data filtered down to an unique species.

parameters

List of biological parameter estimates.

dir

Directory where output will be saved. The directory where the file should be saved. If dir = NULL no output will be saved.

plot

A vector of integers to specify which plots you would like. The default is to print or save both figures, i.e., plot = 1:2. Integers correspond to the following figures:

  1. Length-weight.

  2. Length-at-age.

height, width

Numeric values for the figure width and height in inches. The defaults are 7 by 7 inches.

Author

Chantel Wetzel