Check which elements in a numeric vector are decreasing with respect to the previous elements
decreasing(x, k = 1, strict = TRUE)
| x | numeric vector |
|---|---|
| k | vector of lags (e.g., |
| strict | logical indicating whether only strictly decreasing counts should be considered |
logical indicating decreasing elements