CSIduration_hydrograph: Create salinity duration hydrograph plots for sites

CSIduration_hydrographR Documentation

Create salinity duration hydrograph plots for sites

Description

For each site in the salinity object, plot the salinity duration hydrograph.

Usage

CSIduration_hydrograph(
  sal,
  dir = paste0(getwd(), "/duration_hydrographs"),
  thumbs = F,
  leg = T
)

Arguments

sal

data.frame salinity object with daily or finer resolution salinity data stored in daily_data attribute. Created by CSIimport_daily, CSIimport_unit, or CSIimport_NERRS functions.

dir

character Directory to write output files to.

thumbs

logical. If true, thumbnail plots will be generated in addition to full-sized plots.

leg

logical. If true, legend will be displayed in upper left corner.

Examples

# Data file with Year, Month, and Day columns
data_path <- system.file("extdata", "Daily_Waccamaw_LittleBlack_Rivers.csv", package="CSI")
sal <- CSIimport_daily(data_path)
CSIduration_hydrograph(sal)


USGS-R/CSI documentation built on April 20, 2023, 3:57 p.m.