getMovingAverage: Caclulate the moving average of a vector.

View source: R/3-shared-getCutoff.R

getMovingAverageR Documentation

Caclulate the moving average of a vector.

Description

Caclulate the moving average of a vector.

Usage

getMovingAverage(values, window_size = 1)

Arguments

values

A numeric vector.

window_size

An integer. The size of the window to calculate the moving average. Default is 1.


tpq/propr documentation built on Feb. 3, 2025, 4:23 a.m.