plot.overall.composition.fit: Plot composite catch-at-length data for each fishery.

Description Usage Arguments

View source: R/plot.overall.composite.fit.R

Description

Plot composite (all time periods combined) observed and predicted catch-at-length for each fishery. The table comes from the length.fit file and has already been processed using the length.fit.preparation() function (which is based on Yukio's code). This may also work with weight.fit data but has not been tested yet.

Usage

1
2
3
4
5
6
7
8
9
plot.overall.composition.fit(
  lfit,
  fisheries,
  fishery_names,
  save.dir,
  save.name,
  ncol = NULL,
  xlab = "Length (cm)"
)

Arguments

lfit

A data.frame of observed and predicted composite catch-at-length data (generated using length.fit.preparation()).

fisheries

The numbers of the fisheries to plot.

fishery_names

The names of the fisheries to plot.

save.dir

Path to the directory where the outputs will be saved

save.name

Name stem for the output, useful when saving many model outputs in the same directory

ncol

Number of columns to plot across. Default is ggplot2 default.

xlab

Label for the xaxis.


PacificCommunity/ofp-sam-diags4MFCL documentation built on July 18, 2021, 9:25 a.m.