rtqc_spike_alt.Rd
Perform a spike test. This is a variant of rtqc_spike()
which checks the absolute difference between the current
measurement and the previous/next measurements.
rtqc_spike_alt(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