Description Usage Arguments Value Author(s) See Also Examples
View source: R/specifydesign.R
Generates a design matrix to be used as a model for the simulated activation.
1 2 3 | specifydesign(onsets, durations, totaltime, TR, effectsize, accuracy=0.1,
conv = c("none", "gamma", "double-gamma", "Balloon"),
cond.names = NULL, param = NULL)
|
onsets |
List or vector representing the onsets in seconds. |
durations |
List or vector representing the durations in seconds. |
totaltime |
Duration of the experiment in seconds. |
TR |
Repetition time in seconds. |
effectsize |
List or number representing the effectsize in each condition. |
accuracy |
Microtime resolution in seconds. |
conv |
Should the design matrix be convoluted, default is none. |
cond.names |
Optional names for the conditions. |
param |
Parameters of the haemodynamic response function. See |
A matrix specifying the design.
M. Welvaert
specifyregion
,gammaHRF
,canonicalHRF
,balloon
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.