smoothing: Apply rolling to a numeric vector.

View source: R/mod_carga_datos_utils.R

smoothingR Documentation

Apply rolling to a numeric vector.

Description

Apply rolling to a numeric vector.

Usage

smoothing(v, n)

Arguments

v

a numeric vector.

n

integer value specifying the window width.

Value

numeric vector

Author(s)

Diego Jimenez <diego.jimenez@promidat.com>

Examples

smoothing(AirPassengers, 5)


forecasteR documentation built on July 9, 2023, 6:37 p.m.