min_run
calculates running minimum-maximum on given x
numeric
vector, specified k
window size.
minmax_run(x, metric = "min", na_rm = TRUE)
(vector
, data.frame
, matrix
, xts
, grouped_df
)
Input in runner custom function f
.
character
what to return, minimum or maximum
logical
single value (default na_rm = TRUE
) -
if TRUE
sum is calculating excluding NA
.
list.