CSI: Chemical Score Index

View source: R/chemistry.R

CSIR Documentation

Chemical Score Index

Description

This function calculates the Chemical Score Index for the given sites. The ultimate guide for this function is the CASQO Technical Manual Chapter 3 (beginning of page 34 to the beginning of page 36)

Usage

CSI(chemdata)

Arguments

chemdata

a dataframe with the following headings:

StationID

AnalyteName

Result

RL

MDL

units (optional) - Metals should be in mg/dry kg (mg/kg dw) and all organic constituents should be in ug/dry kg (ug/kg dw).

fieldrep (optional) - data will be filtered to where fieldrep = 1

labrep (optional) - data will be filtered to where labrep = 1

sampletypecode (optional) - data will be filtered to where sampletypecode = Result (to avoid including data from QA/QC samples)

Examples

data(chem_sampledata) # load sample data to your environment
CSI(chem_sampledata) # get scores and see output


SCCWRP/SQOUnified documentation built on Nov. 3, 2024, 12:54 a.m.