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_avo(
  M,
  xlab = "Year",
  ylab = "Acoustic return (Sa from AVO) ",
  ylim = NULL
)

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.

ylim

Limits for the y-axis.

xlim

Limits for the x-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.