mean_smooth: mean_smooth Smooth using a flat window

Description Usage Arguments Value

Description

mean_smooth Smooth using a flat window

Usage

1

Arguments

x

vector of values

window

size of window for smoothing

Value

returns vector of size x that has been smoothed. For values at edge, mean is for window included in x. (i.e. for fist value, smoothed valued is mean of that value and the window/2 values after)


GreenleafLab/NucleoATACR documentation built on May 6, 2019, 6:31 p.m.