Description Usage Arguments Value Examples
Generate the index for eliminating values beyond a given maximum number of consecutive extremes allowed.
1 |
x |
A numeric vector, with no missing values. |
extremes |
A numeric vector of length two giving the boundary limits for |
nconsec |
An integer scalar, the maximum number of consecutive extreme values allowed, default 2. |
A logical vector for selecting all elements of x
without
exceeding nconsec
consecutive extreme values.
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.