ma: Computing moving average of all past values including last...

Description Usage Arguments Value

View source: R/utilities.R

Description

Computing moving average of all past values including last value using a window size

Usage

1
ma(z, window_size = 5L)

Arguments

z

the numeric vector

window_size

the integer window size

Value

a vector of the same length pre-padded with NAs


bnaras/SBCpip documentation built on May 5, 2019, 6:54 p.m.