gen_hrf_library: Generate an HRF (hemodynamic response function) library

View source: R/hrf.R

gen_hrf_libraryR Documentation

Generate an HRF (hemodynamic response function) library

Description

This internal function generates an HRF library by applying the provided HRF generating function (fun) to each row of the parameter grid (pgrid). Additional arguments can be passed to the generating function using ....

Usage

gen_hrf_library(fun, pgrid, ...)

Arguments

fun

A function that generates an HRF, given a set of parameters.

pgrid

A data frame containing the parameter grid, where each row represents a set of parameters to be passed to the HRF generating function.

...

Additional arguments to be passed to the HRF generating function.

Value

A list of HRFs generated by applying the HRF generating function to each row of the parameter grid.

See Also

Other gen_hrf: gen_hrf_blocked(), gen_hrf_lagged(), gen_hrf_set()


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