plot_data_summary: Create a plot with three panels showing a summary of the data...

View source: R/plot-data-summary.R

plot_data_summaryR Documentation

Create a plot with three panels showing a summary of the data used in the assessment as proportional bubbles

Description

Create a plot with three panels showing a summary of the data used in the assessment as proportional bubbles

Usage

plot_data_summary(
  model,
  label_y_placement = c(1.8, 2.5, 2.5),
  x_breaks = seq(model$startyr - 1, model$endyr, by = 5)
)

Arguments

model

A model, created by create_rds_file()

label_y_placement

A vector of three values, one for each of the panel labels, Catches, Abundance Indices, and Age Compositions respectively which represent the y value to place the labels at

x_breaks

The year tick marks to show for the x axis

ax_title_font_size

Size of the font for the X and Y axis labels

ax_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 Jan. 14, 2025, 9:12 p.m.