detrend {fMRItools} | R Documentation |
Detrending with DCT or FFT
detrend(X, TR, f = 0.008, method = c("DCT", "FFT"))
X |
A numeric matrix, with each column being a timeseries to detrend.
For fMRI data, |
TR |
The time step between adjacent rows of |
f |
The frequency of the highpass filter, in Hertz. Default: |
method |
|
Detrended X
detrend(matrix(rnorm(700), nrow=100), TR=.72)