lowBasis: Low pass filter basis set

Description Usage Arguments Value Author(s) Examples

Description

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

Usage

1
lowBasis(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.

Author(s)

Tim Tierney

Examples

1
2
3
4
## 300 scans, 10 second cutoff, tr=2.16 seconds
lb<-lowBasis(300,10,2.16)
dim(lb)
plot.ts(lb[,1:10])

FIACH documentation built on May 1, 2019, 8:02 p.m.

Related to lowBasis in FIACH...