Skip to contents

This function takes a list of models and plots the observed, predicted and confidence intervals for the bottom trawl survey data.

Usage

plot_bts(
  M,
  xlab = "Year",
  ylab = "Bottom trawl survey biomass",
  xlim = NULL,
  ylim = NULL,
  color = "purple",
  biomass = TRUE
)

Arguments

M

A list of models where each model has the needed attributes.

xlab

Label for the x-axis.

ylab

Label for the y-axis.

xlim

Limits for the x-axis.

ylim

Limits for the y-axis.

color

Color for the points.

biomass

Logical indicating if biomass data should be used. If FALSE, other measurements are used.

Value

A ggplot object with the plotted data.