View source: R/utilMWRvaluerange.R
utilMWRvaluerange | R Documentation |
Value Range
columnCheck if incomplete range in Value Range
column
utilMWRvaluerange(accdat)
accdat |
|
The function evaluates if an incomplete or overlapping range is present in the Value Range
column of the data quality objectives file for accuracy
A named vector of "gap"
, "nogap"
, or "overlap"
indicating if a gap is present, no gap is present, or an overlap is present in the ranges provided by the value range for each parameter. The names correspond to the parameters.
# accuracy path
accpth <- system.file('extdata/ExampleDQOAccuracy.xlsx',
package = 'MassWateR')
# accuracy data with no checks
accdat <- readxl::read_excel(accpth, na = c('NA', ''), col_types = 'text')
accdat <- dplyr::mutate(accdat, dplyr::across(-c(`Value Range`), ~ dplyr::na_if(.x, 'na')))
utilMWRvaluerange(accdat)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.