run.mean: Moving averages

Description Usage Arguments Value Author(s) Examples

View source: R/run.mean.R

Description

This function calculates moving averages for data series.

Usage

1

Arguments

x

A vector with the data series.

window

Number of observations to be taken into account in the estimation of the local mean.

Value

Returns a vector with the estimated local averages.

Author(s)

Alexander Correa-Metrio.

Examples

1
run.mean(c(1:10),window=3)

paleoMAS documentation built on May 29, 2017, 8:26 p.m.