Description Usage Arguments References See Also
Validates timeseries data by computing the gradients (absolute or relative) of consecutive data points. The output is an xts-object with logical values. TRUE indicates plausible gradients, FALSE represents gradients which exceed the threshold delta_max.
1 | check_gradient(xts, delta_max, relative = FALSE, lag = 1, verbose = TRUE)
|
xts |
An |
delta_max |
The treshold of gradient. Computed gradients lower than delta_max are considered tolerable, higher ones are doubtful. |
relative |
logical. Should the gradients computed absolute (|x_i - x_i-1|) or relative ((|x_i - x_i-1|)/x_i)? |
lag |
An integer indicating which lag to use. |
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.