DeltaWQer: Plot water quality data

View source: R/DeltaWQer.R

DeltaWQerR Documentation

Plot water quality data

Description

Function to process and plot water quality (temperature, Secchi depth, salinity, chlorophyll, and Microcystis) data

Usage

DeltaWQer(
  Data,
  End_year,
  Start_year = 2002,
  Regions = c("Suisun Bay", "Suisun Marsh", "Lower Sacramento River",
    "Sac Deep Water Shipping Channel", "Cache Slough/Liberty Island",
    "Lower Joaquin River", "Southern Delta"),
  Temp_seasons = c("Winter", "Spring", "Summer", "Fall"),
  Secchi_seasons = c("Winter", "Spring", "Summer", "Fall"),
  Salinity_seasons = c("Winter", "Spring", "Summer", "Fall"),
  Chl_seasons = c("Winter", "Spring", "Summer", "Fall"),
  Micro_seasons = c("Winter", "Spring", "Summer", "Fall")
)

Arguments

Data

Input dataset created by DeltaDater.

End_year

Last year (integer) that should be included in the plot. This year will also be highlighted.

Start_year

First year (integer) that should be included in the plot

Regions

Character vector of regions to include in the plot. The data will be filtered to only include these regions and ordered in the order provided here. To include data with NA regions, set Regions=NULL.

Temp_seasons

Character vector of seasons to retain for temperature. One plot will be produced for each season. Should be a combination of "Summer", "Fall", "Winter", or "Spring".

Secchi_seasons

Character vector of seasons to retain for Secchi. One plot will be produced for each season. Should be a combination of "Summer", "Fall", "Winter", or "Spring".

Salinity_seasons

Character vector of seasons to retain for salinity. One plot will be produced for each season. Should be a combination of "Summer", "Fall", "Winter", or "Spring".

Chl_seasons

Character vector of seasons to retain for chlorophyll. One plot will be produced for each season. Should be a combination of "Summer", "Fall", "Winter", or "Spring".

Micro_seasons

Character vector of seasons to retain for Microcystis. One plot will be produced for each season. Should be a combination of "Summer", "Fall", "Winter", or "Spring".

Value

A list with the plot and processed data.

See Also

DeltaDater


sbashevkin/deltareportr documentation built on Oct. 25, 2022, 2:03 p.m.