convolve.event_term | R Documentation |
This function takes an event-related design matrix and convolves it with a given HRF to produce a new design matrix suitable for fMRI analysis.
## S3 method for class 'event_term'
convolve(
x,
hrf,
sampling_frame,
drop.empty = TRUE,
summate = TRUE,
precision = 0.3,
...
)
x |
A data frame with the design matrix. |
hrf |
The HRF function. |
sampling_frame |
Data frame specifying the sampling frame. |
drop.empty |
Logical; if TRUE, remove empty rows. |
summate |
Logical; if TRUE, sum the convolved HRF. |
precision |
Numeric; the convolution precision (default: 0.3). |
... |
Additional arguments. |
A tibble of the convolved design matrix.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.