sqi | R Documentation |
Stream quality index function
sqi(datin, wq_mod_in = NULL, hab_mod_in = NULL, lothrsh = 0.1, hithrsh = 0.9)
datin |
input |
wq_mod_in |
input model object for predicting stressed state for water quality |
hab_mod_in |
input model object for prediction stressed state for habitat |
lothrsh |
numeric indicating lower threshold for low stress |
hithrsh |
numeric indicating upper threshold for high stress |
See sampdat
for required input format. wq_mod_in
and hab_mod_in
are both glm
objects (wqglm
and habglm
) included with the package.
a data.frame
same as datin
but with new columns for pChem
, pHab
, pChemHab
, BiologicalCondtion
, WaterChemistryCondition
, HabitatCondition
, OverallStressCondition
, and StreamHealthIndex
sqi(sampdat)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.