plot_timeseries: Parameter plot

Description Usage Arguments Value

View source: R/plot_timeseries.R

Description

Plots Wells vs. Lake measurements for a parameter of interest at all lakes.

Usage

1
2
3
4
5
6
7
8
9
plot_timeseries(
  df,
  yaxis_type = "number",
  text_size = 12,
  site_types = c("upgradient", "nogradient", "downgradient", "lake", "lake_bottom"),
  site_labels = c("Upgr.", "Nogr.", "Downgr.", "Lake Surf", "Lake Bot."),
  site_colors = c("#33A02C", "#B15928", "#B2DF8A", "#FB9A99", "#E31A1C"),
  site_shapes = c(21, 21, 21, 24, 24)
)

Arguments

df

subsetted version of SWIMS data for parameter of interest.

yaxis_type

defaults to "number" to use continuous y axis. Can also be "log" for semi-log plot.

text_size

size of text on plots, defaults to 12pt.

site_types

possible site types to plot

site_labels

how to display names of site types in legends

site_colors

colors to use for site types

site_shapes

shapes to use for site types

Value

plot_obj, the plot object created by ggplot.


WDNR-Water-Use/CSLSchem documentation built on July 3, 2020, 10:51 a.m.