plot_selectivities: Plot selectivities by age, year, fleet, and model

View source: R/plot_selectivities.R

plot_selectivitiesR Documentation

Plot selectivities by age, year, fleet, and model

Description

Plot selectivities by age, year, fleet, and model

Usage

plot_selectivities(
  sels,
  fleet = "fsh",
  alpha = 0.4,
  scale = 4,
  size = 0.5,
  years = "all"
)

Arguments

sels

selectivity data frame generated by get_selectivities

fleet

fleets to plot: "fsh" (fishery), "ind" (survey), or "all" (both)

Value

a ggplot2 plot object

Examples


## Not run: 

oldnewMods <- combineModels(mod0.00,mod_prev)
selectivities <- get_selectivities(oldnewMods)
plot_selectivities(selectivities)


## End(Not run)


SPRFMO/jjmr documentation built on March 27, 2024, 6:16 a.m.