plot_bycatch_guesses: Plot distribution of bycatch values

View source: R/15_plot_bycatch_guesses.R

plot_bycatch_guessesR Documentation

Plot distribution of bycatch values

Description

Plot user-defined bycatch values (uses geom_linerange() from ggplot2)

Usage

plot_bycatch_guesses(
  highval,
  medval,
  lowval,
  cv,
  set_size = 18,
  color.palette = c("forestgreen", "orange", "red"),
  lang = "en"
)

Arguments

highval

The high end of the user-defined range of bycatch values

medval

The middle of the user-defined bycatch range

lowval

The low end of the user-defined range

cv

CV of bycatch mortality or bycatch mortality rate

set_size

base size to pass to ggplot

color.palette

A vector of colors to represent bycatch levels, from low to high end of range

lang

Language selected by the user (character, 2 letters)

Value

A ggplot2 grob showing the distributions of bycatch values based on what the user entered.


mcsiple/mmrefpoints documentation built on June 17, 2022, 8:41 p.m.