plot_cumu_catch: Plot_cumu_catch

Description Usage Arguments Value

View source: R/plot-data.R

Description

Plot the cumulative catch for the given years

Usage

1
2
3
4
5
6
7
8
plot_cumu_catch(
  d,
  inc_years = (year(now()) - 5):year(now()),
  weight_factor = 1e+06,
  ylim = c(0, 100),
  line_thickness = 1.5,
  horiz_line_spacing = NA
)

Arguments

d

Data frame as output from get_catch()

inc_years

Years to include in the plot

weight_factor

Divide catch values by this to scale y-axis

ylim

Vector of 2, Y-axis limits

line_thickness

thickness of the lines

horiz_line_spacing

spacing to draw horizontal dotted lines at. If NA, no lines will be plotted

Value

A ggplot object


pbs-assess/hakedata documentation built on Jan. 16, 2021, 9:15 p.m.