detrend {fMRItools} | R Documentation |
Detrending with DCT or FFT
Description
Detrending with DCT or FFT
Usage
detrend(X, TR, f = 0.008, method = c("DCT", "FFT"))
Arguments
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 |
|
Value
Detrended X
Examples
detrend(matrix(rnorm(700), nrow=100), TR=.72)
[Package fMRItools version 0.4.7 Index]