View source: R/plotBio_ByWat.r
plotBio_ByWat | R Documentation |
Plot A GGplot jitter plot of a biological metric by watershed
plotBio_ByWat(
df,
col,
wat = "watershed",
metric = c("macro.oe", "bird.bii", "fish.ibi"),
title = TRUE,
...
)
df |
A data frame with a variable to plot |
col |
The column containing the values to plot by watershed |
wat |
The column indicating the watershed in which the station occurs |
metric |
The biological metric to plot: either 'macro.oe', 'bird.bii', or 'fish.ibi' |
title |
Should a title be added to the graph? Default is true. |
... |
Additional arguments that can be passed to plotGGjitt_ByWat |
A ggplot graph with the variable on the horizontal axis and the watersheds along the vertical axis sorted by mean of the variable
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.