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] 1 3 0 5 10 100#> [1] 1.0 3.0 -1.0 5.0 4.4 4.4