View source: R/assignCriteria.r
assignCriteria | R Documentation |
Assigns general & site-specific numeric WQ criteria to WQP data. Does not calculate criteria w/ correction factors - this occurrs in dataPrep.
assignCriteria(
data,
crit_wb,
crit_sheetname,
ss_sheetname,
crit_startRow = 1,
ss_startRow = 1,
rm_nocrit = TRUE,
print = TRUE
)
data |
A merged, parameter translated, spatially referenced WQP result object. Must be post parameter translation step. |
crit_wb |
Full path and filename for workbook containing criteria. |
crit_sheetname |
Name of sheet in workbook holding criteria to be assigned. |
ss_sheetname |
Name of sheet in workbook holding site-specific criteria to be assigned. Should typically contain parameters corresponding to those in criteria table. |
crit_startRow |
Row to start reading criteria table excel sheet from (in case headers have been added). Defaults to 1. |
ss_startRow |
Row to start reading site specific criteria table excel sheet from (in case headers have been added). Defaults to 1. |
rm_nocrit |
Logical. If TRUE (default), remove records w/o numeric criteria before returning. If FALSE, function will pass through all records with flattened uses & any matching criteria - useful for passing through non-assessed parameters for other analyses. |
A flattened & expanded sample x use x parameter x criterion data.frame.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.