Description Usage Arguments Details Value Author(s)
View source: R/isSeriesConstant.R
isSeriesConstant checks whether a series is constant (up to a certain degree).
1 | isSeriesConstant(x, tresh.const = 1e-12, ratio.const = 0.05)
|
x |
numeric vector: series to test. |
tresh.const |
numeric: maximum deviation allowed which is still considered to be constant. |
ratio.const |
numeric: ratio of the series which is allowed to be not constant for the whole series to be still considered to be constant. |
isSeriesConstant checks whether the amount of values deviating from the median of x for a higher value than tresh.const is bigger than ratio.const.
logical: TRUE if series is constant, FALSE otherwise.
Jannis v. Buttlar
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.