plot_pairs: Pairwise plot

Description Usage Arguments Value

View source: R/plot_pairs.R

Description

Compare two water chemistry parameters for precipitation, lake, and groundwaters.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
plot_pairs(
  water_chem,
  parameters,
  no_site_id = "PFL-09",
  color_breaks = c("precipitation", "upgradient", "nogradient", "downgradient", "lake"),
  color_labels = c("Precipitation", "Groundwater Inflow", "Groundwater No Grad.",
    "Groundwater Outflow", "Lake"),
  color_values = c("#1F78B4", "#33A02C", "#B15928", "#B2DF8A", "#E31A1C"),
  text_size = 12
)

Arguments

water_chem

data frame with water chemistry information to use

parameters

vector with dnr description of two parameters to compare

no_site_id

vector with site_ids to remove from visualization, defaults to PFL-09

color_breaks

vector with site_types to include on plot

color_labels

vector with names of site_types to use on legend

color_values

hex codes of colors to use for site_types

text_size

size of text on plots

Value

plot_obj, the plot object created by ggplot.


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