sma: Vector simple moving average

Description Usage Arguments

View source: R/RcppExports.R

Description

Returns a vector of the simple moving average of a vector

Usage

1
sma(x, n)

Arguments

x

Numeric vector

n

lenght of the average


ANearchou/RDataScience documentation built on Dec. 17, 2021, 6:42 a.m.