Learn R Programming

forecasteR (version 3.0.2)

smoothing: Apply rolling to a numeric vector.

Description

Apply rolling to a numeric vector.

Usage

smoothing(v, n)

Value

numeric vector

Arguments

v

a numeric vector.

n

integer value specifying the window width.

Author

Diego Jimenez <diego.jimenez@promidat.com>

Examples

Run this code
smoothing(AirPassengers, 5)

Run the code above in your browser using DataLab