ergMean: Compute the ergodic (running) mean.

View source: R/helper_functions.R

ergMeanR Documentation

Compute the ergodic (running) mean.

Description

Compute the ergodic (running) mean.

Usage

ergMean(x)

Arguments

x

vector for which to compute the running mean

Value

A vector y with each element defined by y[i] = mean(x[1:i])


dsp documentation built on Aug. 21, 2025, 5:29 p.m.