Description Usage Arguments Details Value Author(s) References Examples
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.
1 | blockStimulus(scans = 1, onsets = c(1), durations = c(1), tr=2.5 )
|
scans |
number of scans |
onsets |
vector of onset times (in scans) |
durations |
vector of duration of ON stimulus in scans or
seconds (if |
rt |
time between scans in seconds (TR) |
None
Vector with dimension c(scans, 1)
.
b avants stnava@gmail.com
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.
1 2 | # Example 1
hrf <- blockStimulus(107, c(18, 48, 78), 15, 2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.