hrf_toeplitz: HRF Toeplitz Matrix

View source: R/hrf.R

hrf_toeplitzR Documentation

HRF Toeplitz Matrix

Description

Create a Toeplitz matrix for hemodynamic response function (HRF) convolution.

Usage

hrf_toeplitz(hrf, time, len, sparse = FALSE)

Arguments

hrf

The hemodynamic response function.

time

A numeric vector representing the time points.

len

The length of the output Toeplitz matrix.

sparse

Logical, if TRUE, the output Toeplitz matrix is returned as a sparse matrix (default: FALSE).

Value

A Toeplitz matrix for HRF convolution.


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