plot_indices: Plot all indices in one figure for the lingcod models

View source: R/plot_indices.R

plot_indicesR Documentation

Plot all indices in one figure for the lingcod models

Description

Initially just the single plot of fits, but could also be used to show the data only or any other quantity of interest

Usage

plot_indices(mod, png = TRUE, fit = TRUE, log = FALSE)

Arguments

mod

A model object created by get_mod(). Could also be created by r4ss::SS_output() but needs to have an element "area" added to the list.

png

write to png file or existing plot device

fit

include fit or just data only

log

plot on a log scale

Value

A figure showing the fit to all indices.

Author(s)

Ian G. Taylor

Examples

## Not run: 
  plot_indices(mod.2021.n.008.004)

## End(Not run)

iantaylor-NOAA/Lingcod_2021 documentation built on Oct. 30, 2024, 6:42 p.m.