powered by
Find the rolling minimum in `x` with span `n`
rollmin(x, n)
Numeric vector
Integer span
The minimum value of `x` with span `n`
# NOT RUN { rollmin(c(1,2,3),2) ## c(1,1,2) # }
Run the code above in your browser using DataLab