blockStimulus.Rd
Create the block BOLD stimulus for a given task indicator function. Current units in terms of volumes. Sort of a bug, should be in TR.
Vector with dimension c(scans, 1)
.
None
Worsley, K.J., Liao, C., Aston, J., Petre, V., Duncan, G.H., Morales, F., Evans, A.C. (2002). A general statistical analysis for fMRI data. NeuroImage, 15:1-15.
# Example 1
hrf <- blockStimulus(107, c(18, 48, 78), 15, 2)