Description Usage Arguments Details Value Warning Author(s) References See Also Examples
View source: R/qat_analyse_lim_rule_static_1d.R
This check tests data on whether it exceeds a static threshold.
1 | qat_analyse_lim_rule_static_1d(measurement_vector, min_value, max_value)
|
measurement_vector |
The measurement vector, which should be tested |
min_value |
The minimum threshold |
max_value |
The maximum threshold |
This check tests every element, on whether it exceeds the minimum or maximum threshold. The result will be given back as a list, which contains the result of the test as a flagvector and its parameters. For every element of the measurement vector the flagvector contains a -1, if its exceeding the minimum value, a 1, if its exceeding the maximum value, or a 0, when no exceeding has happend.
It returns a list with the following entries:
flagvector |
A vector of length of measurement vector. For every element of the measurement vector the flagvector contains a -1, if its exceeding the minimum value, a 1, if its exceeding the maximum value, or a 0, when no exceeding has happend. |
min_value |
Give back the given min\_value |
max_value |
Give back the given max\_value |
There is no checking, if the maximum-value is greater than the minimum-value.
Andre Duesterhus
Meek, D.W., Hatfield, J.L. (1994) Data quality checking for single station meteorological databases, \_Agricultural and Forest Meteorology\_, *69* (1-2), 85-109.
qat_plot_lim_rule_static_1d
, qat_call_lim_rule
, qat_analyse_lim_rule_dynamic_1d
, qat_analyse_lim_rule_sigma_1d
1 2 | vec <- rnorm(1000)
result <- qat_analyse_lim_rule_static_1d(vec, -2,2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.