Make multiple rolling mean functions.
auto_make_rMean_col.RdMakes rolling mean column(s) from a dataframe column defined by the user using window sizes also defined by the user.
Usage
auto_make_rMean_col(col, width = c(7))Examples
if (FALSE) { # \dontrun{
df = data.frame(index = 1:10, value1 = rnorm(10), value2 = rnorm(10))
dplyr::mutate(df, auto_make_rMean_col(col = value1, width = c(3, 7)))
} # }