Learn R Programming

neuRosim (version 0.2-14)

gammaHRF: Single Gamma Haemodynamic response function.

Description

Specifies a Gamma variate haemodynamic response function for the given time vector and FWHM.

Usage

gammaHRF(x, FWHM = 4, verbose = TRUE)

Value

Vector representing the values of the function for the given time vector and FWHM.

Arguments

x

Time vector in seconds.

FWHM

Full Width Half Maximum of the Gamma variate function.

verbose

If TRUE, warnings are displayed.

Author

M. Welvaert

References

Buxton, RB, Uludag, K, Dubowitz, DJ and Liu, TT (2004). Modeling the hemodynamic response to brain activation. NeuroImage, 23, S220-S233.

See Also

canonicalHRF, balloon

Examples

Run this code
t <- 1:100
out <- gammaHRF(t, verbose=FALSE)
rm(t,out)

Run the code above in your browser using DataLab