Learn R Programming

dsp (version 1.2.0)

ergMean: Compute the ergodic (running) mean.

Description

Compute the ergodic (running) mean.

Usage

ergMean(x)

Value

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

Arguments

x

vector for which to compute the running mean