calculate_moving_average {transforEmotion}R Documentation

Calculate the moving average for a time series

Description

This function calculates the moving average for a time series.

Usage

calculate_moving_average(data, window_size)

Arguments

data

Matrix or Data frame. The time series data

window_size

Numeric integer. The size of the moving average window.

Value

Matrix or Data frame containing the moving average values.


[Package transforEmotion version 0.1.4 Index]