plot_depth | R Documentation |
Create a boxplot of depths for a given data frame
plot_depth(
depth_df,
yrs,
title_text = NULL,
line_col = "grey",
box_width = 0.75,
y_lim = NULL,
y_breaks = NULL,
reverse_y = TRUE,
...
)
depth_df |
A data frame containing boxplot input, see files like
|
yrs |
A vector of the years to show in the plot |
title_text |
The title to show. If |
line_col |
The color of the median line and box outline |
box_width |
With of each box |
y_lim |
The vector of two value representing the y-limits for the plot |
y_breaks |
The vector of y-axis values to show on the plot |
reverse_y |
Logical. If |
A ggplot2::ggplot()
object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.