plot_natural_mortality | R Documentation |
Plot natural mortality mcmc median and credibility interval
plot_natural_mortality(
model,
line_size = 0.75,
ribbon_alpha = 0.5,
prod_yrs = 1990:1999,
show_prod_yrs = TRUE,
xlim = NA,
y_max = NA,
show_x_axis = TRUE,
show_y_axis = TRUE,
x_axis_label_size = 8,
x_axis_tick_label_size = 8,
y_axis_label_size = 8,
y_axis_tick_label_size = 8,
x_axis_label_newline_length = 50,
y_axis_label_newline_length = 40,
x_axis_position = "bottom",
y_axis_position = "left",
annot = "b",
translate = FALSE
)
model |
an iscam model |
line_size |
thickness of the median line |
ribbon_alpha |
transparency of the credibility interval ribbon |
prod_yrs |
Numeric vector. Productive period to calculate the USR. Default 1990:1999. |
show_prod_yrs |
Logical. Show vertical band for productive period. Default TRUE. |
xlim |
x-limits for the plot. Implemented with [ggplot2::coord_cartesian()] |
show_x_axis |
see [modify_axes_labels()] |
show_y_axis |
see [modify_axes_labels()] |
x_axis_label_size |
see [modify_axes_labels()] |
x_axis_tick_label_size |
see [modify_axes_labels()] |
y_axis_label_size |
see [modify_axes_labels()] |
y_axis_tick_label_size |
see [modify_axes_labels()] |
x_axis_label_newline_length |
see [newline_format()] |
y_axis_label_newline_length |
see [newline_format()] |
annot |
a character to place in parentheses in the top left of the plot. If NA, nothing will appear |
translate |
Logical. If TRUE, translate to french |
A ggplot object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.