convolve_design | R Documentation |
Convolves a HRF with a design matrix (one column per condition) to produce a list of regressors.
convolve_design(hrf, dmat, globons, durations, summate = TRUE)
hrf |
A function representing the HRF. |
dmat |
Design matrix (with named columns). |
globons |
Numeric vector of global onsets. |
durations |
Numeric vector of event durations. |
summate |
Logical; if TRUE, summate the convolved HRF (default: TRUE). |
A list of regressors (one for each column).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.