plot_fecundity: Create a aplot of fecundity-at-age and mean-weight-at-age

View source: R/plot-fecundity.R

plot_fecundityR Documentation

Create a aplot of fecundity-at-age and mean-weight-at-age

Description

Create a aplot of fecundity-at-age and mean-weight-at-age

Usage

plot_fecundity(
  model,
  yrs = NULL,
  line_colors = c("blue", "red"),
  line_alpha = 0.5,
  leg_pos = c(0.68, 0.13),
  leg_ncol = 1,
  leg_font_size = 14,
  ...
)

Arguments

model

A model, created by create_rds_file()

yrs

A vector of the years to use in the calculations

leg_pos

The position of the legend inside the plot. If NULL, NA, or none, the legend will not be shown

leg_ncol

The number of columns to show in the legend

leg_font_size

The legend font size

...

Arguments passed to plot_maturity()

axis_title_font_size

Size of the font for the X and Y axis labels

axis_tick_font_size

Size of the font for the X and Y axis tick labels

Value

A ggplot2::ggplot() object


pacific-hake/hake-assessment documentation built on July 21, 2024, 8:19 a.m.