View source: R/anlz_sedimentaddtot.R
anlz_sedimentaddtot | R Documentation |
Add contaminant totals to sediment data
anlz_sedimentaddtot(
sedimentdata,
yrrng = c(1993, 2023),
bay_segment = c("HB", "OTB", "MTB", "LTB", "TCB", "MR", "BCB"),
funding_proj = "TBEP",
param = NULL,
pelave = TRUE
)
sedimentdata |
input sediment |
yrrng |
numeric vector indicating min, max years to include, use single year for one year of data |
bay_segment |
chr string for the bay segment, one to many of "HB", "OTB", "MTB", "LTB", "TCB", "MR", "BCB" |
funding_proj |
chr string for the funding project, one to many of "TBEP" (default), "TBEP-Special", "Apollo Beach", "Janicki Contract", "Rivers", "Tidal Streams" |
param |
optional character string of a parameter to filter the results |
pelave |
logical indicating if output is used for |
This function adds totals to the sedimentdata
input for total PCBs, total DDT, total LMW PAH, total HMW PAH, and total PAH. Appropriate TEL/PEL values for the totals are also added.
A data.frame
object similar to the input, but filtered by the arguments and contaminant totals added. Replicate samples are also removed.
anlz_sedimentaddtot(sedimentdata)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.