Learn R Programming

FIACH (version 0.1.2)

highBasis: High pass filter basis set

Description

Generates cosines that can be used to high-pass filter data in a regression framework.

Usage

highBasis(N, freq, tr)

Arguments

N
Number of time-points to be filtered.
freq
This is the cutoff frequency. It is specified in seconds for comparability with SPM.
tr
This is the time between samples(or the TR for fMRI data.)

Value

A matrix containing the basis set.

Examples

Run this code
ts.plot(highBasis(300,128,2.16))

Run the code above in your browser using DataLab