slideMean: Sliding mean over x of intervals of size k

Description Usage Arguments Value

Description

Source: http://stats.stackexchange.com/questions/3051/mean-of-a-sliding-window-in-r

Usage

1
slideMean(x, k)

Arguments

x

numeric vector

k

interval size

Value

numeric vector of length length(x) / k.


ibn-salem/chromloop documentation built on May 18, 2019, 1:29 a.m.