plot_bycatch_guesses: Plot distribution of bycatch values

Description Usage Arguments Value

View source: R/15_plot_bycatch_guesses.R

Description

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

Usage

1
2
3
4
5
6
7
8
9
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.


ktmurray1219/mmrefpoints documentation built on Dec. 21, 2021, 8:40 a.m.