powered by
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.
blockStimulus(scans = 1, onsets = c(1), durations = c(1), rt = 3)
number of scans
vector of onset times (in scans)
vector of duration of ON stimulus in scans or seconds (if !is.null(times))
!is.null(times)
time between scans in seconds (TR)
Vector with dimension c(scans, 1).
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.
# NOT RUN { # Example 1 hrf <- blockStimulus(107, c(18, 48, 78), 15, 2) # }
Run the code above in your browser using DataLab