plot_assessment_history_biomass: Title

View source: R/plot-assessment-history-biomass.R

plot_assessment_history_biomassR Documentation

Title

Description

Title

Usage

plot_assessment_history_biomass(
  base_model,
  history_df,
  x_labs_mod = 10,
  ylim = c(0, 7),
  y_breaks = ylim[1]:ylim[2],
  y_major_lab_adj = 45,
  tick_prop = 1,
  vjust_x_labels = -0.25,
  leg_pos = c(0.75, 0.8),
  leg_ncol = 3,
  leg_font_size = 8
)

Arguments

base_model

A model object, created by create_rds_file()

history_df

A data frame, previously read in from the file assessment-history.csv

x_labs_mod

Value for major X-axis tick marks. Every Nth tick will be longer and have a label. The first and last will be shown regardless of what this number is

ylim

A vector of two representing the minimum and maximum values to show on the y-axis

y_breaks

A vector of the values to show on the y-axis

y_major_lab_adj

A value to move the major tick abels closer/further away from the major tick marks. Reducing this moves them closer, increasing it moves them further away

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

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

axis_label_color

Color for the axis labels and tick labels

Value

a ggplot2::ggplot() object


pacific-hake/hake-assessment documentation built on Jan. 14, 2025, 9:12 p.m.