rtqc_spike.Rd
Perform a spike test. For more information see U.S. Integrated Ocean Observing System, 2015. Manual for Real-Time Quality Control of In-situ Temperature and Salinity Data Version 2.0: A Guide to Quality Control and Quality Assurance of In-situ Temperature and Salinity Observations. 56 pp. DOI: 10.7289/V5V40SD4.
rtqc_spike(x, spike.threshold)
x | A vector of values. |
---|---|
spike.threshold | A length-2 list specifying "suspect"
and "fail" thresholds. Each threshold can be either a single
value (static threshold) or a vector of same length as |
An ordered factor of test flags of same length as x
.
#> [1] <NA> pass pass suspect suspect fail fail fail fail #> [10] fail <NA> #> Levels: pass < not evaluated < suspect < fail