runn_mean: Running mean of a vector

Description Usage Arguments Value Author(s) Examples

View source: R/runn_mean.R

Description

Function to calculate the running mean of a numeric vector

Usage

1

Arguments

vec

numeric vector

runn_mean

number of vector elements to use for calculating the running mean

Value

numeric vector containing the running mean

Author(s)

Eike Luedeling

Examples

1
plot(runn_mean(rnorm(1000),150))

chillR documentation built on May 30, 2017, 6:57 a.m.