rtqc_rate.Rd
Perform a rate of change 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_rate(x, n.dev, n.prior, ...)
x | A vector of values. |
---|---|
n.dev | The number of standard deviations to test against. |
n.prior | the number of prior observations to use for computing
the standard deviation. For example, to compute standard deviations
over the previous 25 hours from 15-minute data use |
... | Other arguments to pass to |
An ordered factor of test flags of same length as x
.
#> [1] <NA> <NA> <NA> <NA> <NA> suspect pass pass suspect #> [10] pass suspect pass pass pass pass pass pass pass #> [19] pass pass suspect pass pass pass pass pass pass #> [28] pass suspect pass #> Levels: pass < not evaluated < suspect < fail