plotBio_ByWat: Plot A GGplot jitter plot of a biological metric by watershed

View source: R/plotBio_ByWat.r

plotBio_ByWatR Documentation

Plot A GGplot jitter plot of a biological metric by watershed

Description

Plot A GGplot jitter plot of a biological metric by watershed

Usage

plotBio_ByWat(
  df,
  col,
  wat = "watershed",
  metric = c("macro.oe", "bird.bii", "fish.ibi"),
  title = TRUE,
  ...
)

Arguments

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

Value

A ggplot graph with the variable on the horizontal axis and the watersheds along the vertical axis sorted by mean of the variable


PDXChris/pmtools documentation built on March 26, 2024, 8:13 a.m.