Visualize biological discard data

plot_wcgop_bio(
  data,
  species_name,
  dir = NULL,
  plot = 1:2,
  comp_column = "length"
)

Arguments

data

A data frame of WCGOP biological data

species_name

Species that you want composition data for.

dir

Directory location to save files.

plot

A vector of integers to specify which plots you would like. The default is to print or save both figures, i.e., plot = 1:2. Integers correspond to the following figures:

  1. Boxplot of discard length/age by gear group and year.

  2. Boxplot of discard length/age by catch share and non-catch share by year.

comp_column

Column in the data to plot (e.g. "LENGTH").

Author

Chantel Wetzel