rsMove (version 0.2.8)

runmean2: runmean2

Description

NA-sensitive running mean.

Usage

runmean2(x, y)

Arguments

x

A Numeric vector.

y

A numeric element.

Value

A vector.

Details

Applies a running mean over x with a window size defined by y. Missing values are ignored and/or filled during the compution.