plot_bam: Plot results from Beaufort Assessment Model

View source: R/plot_bam.R

plot_bamR Documentation

Plot results from Beaufort Assessment Model

Description

A generic plotting function that calls plotting functions from FishGraph and bamExtras.

Usage

plot_bam(
  spp = NULL,
  graphics.type = "pdf",
  draft = FALSE,
  use.color = TRUE,
  years_plot = NULL,
  FGPlot_args = list(),
  windows_args = list(),
  Bound.vec.plots.args = list(),
  BSR.time.plots.args = list(),
  CLD.total.plots.args = list(),
  Cohort.plots.args = list(),
  Comp.plots.args = list(),
  Comp.yearly.plots.args = list(print.neff = TRUE, print.n = TRUE),
  Eq.plots.args = list(F.references = list("Fmsy", "F40"), user.Eq = list("L.eq.klb",
    "L.eq.knum", "D.eq.knum")),
  F.time.plots.args = list(F.references = NULL, F.additional = NULL),
  Growth.plots.args = list(plot.all = TRUE),
  Index.plots.args = list(),
  Landings.plots.args = list(),
  NFZ.age.plots.args = list(user.plots = "N.age.mdyr"),
  Parm.plots.args = list(),
  PerRec.plots.args = list(user.PR = list("SPR", "ypr.lb"), user.lab = list("SPR",
    "ypr.lb"), F.references = list("Fmsy", "F40")),
  Phase.plots.args = list(Xaxis.F = FALSE),
  Selectivity.plots.args = list(compact = TRUE),
  StockRec.plots.args = list()
)

Arguments

spp

bam output rdat object

graphics.type

from FishGraph help: 'a vector of graphics file types to which graphics are saved. When NULL, no plots are saved.'

draft

from FishGraph help: 'modifies plots for use in a report. When FALSE main titles are omitted.'

use.color

from FishGraph help: 'plots are made in grayscale when FALSE'

years_plot

vector of years to plot in time series. If NULL, all years are plotted

FGPlot_args

set of arguments to pass to all FishGraph plotting functions

Examples

## Not run: 
# Make plots
plot_bam(rdat_BlackSeaBass)

## End(Not run)

nikolaifish/bamExtras documentation built on April 17, 2025, 9:44 p.m.