qat_analyse_noc_rule_1d

0th

Percentile

Perform a noc-rule-check

This check tests data on whether it changes after a given amount of values.

Keywords
ts
Usage
qat_analyse_noc_rule_1d(measurement_vector, max_return_elements)
Arguments
measurement_vector
The measurement vector, which should be tested
max_return_elements
Number of coherent elements, which are allowed to have no change between the single values, without indicate an error
Details

This check tests the given measurement vector from the beginning to the end, on how much values in a row got the same value. If the number of values, which is defined by max\_return\_elements prior to the actual element got the same value as the actual element, the resulting flagvector will be set to 1 on the actual position. Else it will be set to 0.

Value

It returns a list with the following entries:

References

Meek, D.W., Hatfield, J.L. (1994) Data quality checking for single station meteorological databases, \_Agricultural and Forest Meteorology\_, *69* (1-2), 85-109.

See Also

qat_plot_noc_rule_1d, qat_call_noc_rule

Aliases
  • qat_analyse_noc_rule_1d
Examples
vec <- c(1,2,3,4,4,4,5,5,4,3,NaN,3,2,1)
result <- qat_analyse_noc_rule_1d(vec, 1)
Documentation reproduced from package qat, version 0.74, License: GPL-2

Community examples

Looks like there are no examples yet.