rollmin {dateutils} | R Documentation |
Rolling Min
Description
Find the rolling minimum in 'x' with span 'n'
Usage
rollmin(x, n)
Arguments
x |
Numeric vector |
n |
Integer span |
Value
The minimum value of 'x' with span 'n'
Examples
rollmin(c(1,2,3),2) ## c(1,1,2)
[Package dateutils version 0.1.5 Index]