Description Usage Arguments Value Examples
1 | out_threshold(x, tlow = NULL, thigh = NULL, fill = NA)
|
x |
Univariate vector, numeric or ts object with only one dimension. |
tlow |
The lower threshold. |
thigh |
The upper threshold. |
fill |
Numeric value(s) or function used to fill observations. |
Returns a vector with the same class and attributes as the input vector.
1 2 3 | x <- c(1, 3, -1, 5, 10, 100)
out_threshold(x, tlow = 0, fill = 0)
out_threshold(x, thigh = 9, fill = function(x) quantile(x, 0.9))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.