Description Usage Arguments References See Also
Validates timeseries data by computing the difference of data points within given window width. Consecutive data points can be defined as constant by two approaches (s. parameter "method"). The output is an xts-object with logical values. TRUE indicates constancy, FALSE inconstancy.
1 2 | check_constancy(xts, delta_max, width, method = "all", lag = 1,
relative = FALSE, verbose = TRUE)
|
xts |
An |
delta_max |
The treshold of constance. Computed differences lower than delta_max are considered to be constant, otherwise inconstant. |
width |
An integer specifying the window width. |
method |
Either "all" or "minmax".
Determines the way differences within |
lag |
An integer indicating which lag to use (condition: method is "all") |
relative |
logical. Should differences computed absolute (|x_i - x_i-1|) or relative ((|x_i - x_i-1|)/x_i) (condition: method is "all")? |
verbose |
logical. Provide additional details? |
DWA (2011). Merkblatt DWA-M 181 - Messung von Wasserstand und Durchfluss in Entwaesserungssystemen. Hennef.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.