hrf_sine: hrf_sine

View source: R/hrf.R

hrf_sineR Documentation

hrf_sine

Description

A hemodynamic response function using the Sine Basis Set.

Usage

hrf_sine(t, span = 24, N = 5)

Arguments

t

A vector of times.

span

The temporal window over which the basis sets span (default: 24).

N

The number of basis functions (default: 5).

Value

A matrix of sine basis functions.

See Also

Other hrf_functions: hrf_bspline(), hrf_gamma(), hrf_gaussian(), hrf_inv_logit(), hrf_mexhat(), hrf_spmg1(), hrf_time()

Examples

hrf_sine_basis <- hrf_sine(seq(0, 20, by = 0.5), N = 4)

bbuchsbaum/fmrireg documentation built on May 16, 2023, 10:56 a.m.