Description Usage Arguments Value
View source: R/15_plot_bycatch_guesses.R
Plot user-defined bycatch values (uses geom_linerange()
from ggplot2
)
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"
)
|
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 |
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) |
A ggplot2
grob showing the distributions of bycatch values based on what the user entered.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.