hrf_gaussian: Gaussian HRF (hemodynamic response function)

View source: R/hrf.R

hrf_gaussianR Documentation

Gaussian HRF (hemodynamic response function)

Description

The hrf_gaussian function computes the Gaussian density-based HRF (hemodynamic response function) at given time points t.

Usage

hrf_gaussian(t, mean = 6, sd = 2)

Arguments

t

A vector of time points.

mean

A numeric value representing the mean of the Gaussian probability density function. Default value is 6.

sd

A numeric value representing the standard deviation of the Gaussian probability density function. Default value is 2.

Value

A numeric vector representing the Gaussian HRF at the given time points t.

See Also

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

Examples

# Compute the Gaussian HRF representation for time points from 0 to 20 with 0.5 increments
hrf_gaussian <- hrf_gaussian(seq(0, 20, by = .5), mean = 6, sd = 2)

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