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)


PROMiDAT/forecasteR documentation built on June 30, 2023, 9:43 p.m.