runmean: compute a moving average smooth over a time series (here, a...

View source: R/fmri_utility_fx.R

runmeanR Documentation

compute a moving average smooth over a time series (here, a vector of RTs)

Description

used to fit smoothed RTs (clock_model object). Function is an adapted version of runmean from the caTools package.

Usage

runmean(x, k = 5)

PennStateDEPENdLab/dependlab documentation built on April 10, 2024, 5:15 p.m.