chem.sqo: Get Integrated Chem SQO Scores and Categories

View source: R/chemistry.R

chem.sqoR Documentation

Get Integrated Chem SQO Scores and Categories

Description

This function will not only calculate CSI and LRM, but it will also get the overall integrated SQO Category and Score for the stations that are given to it.

Usage

chem.sqo(chemdata)

Arguments

chemdata

a dataframe with the following columns:

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
chem.sqo(chem_sampledata) # get scores and see output


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