plot_spawn_section: Plot spawn index or scaled abundance by section

View source: R/figures.R

plot_spawn_sectionR Documentation

Plot spawn index or scaled abundance by section

Description

Plot spawn index or scaled abundance by section

Usage

plot_spawn_section(
  model,
  data_file,
  sections = NA,
  yr_range = NA,
  scale = TRUE,
  ncol = 2,
  translate = FALSE
)

Arguments

model

iscam model object (can be NA if scale is FALSE).

data_file

Chracter. Path and name of data file (CSV) with spawn by section and year.

sections

Vector of sections to include, or NA to include all.

yr_range

Start and end year, or NA to include all the data.

scale

Logical. Scale the spawn index using q?

translate

Logical. Translate to French?


pbs-assess/herringutils documentation built on Jan. 10, 2025, 8:43 a.m.