convolve.event_term | R Documentation |
This function takes an event-related design matrix and convolves it with a specified Hemodynamic Response Function (HRF) to create a new design matrix suitable for fMRI analysis. It also supports additional arguments for flexibility and customization.
## S3 method for class 'event_term'
convolve(
x,
hrf,
sampling_frame,
drop.empty = TRUE,
summate = TRUE,
precision = 0.3,
...
)
x |
A data frame containing the input design matrix. |
hrf |
A Hemodynamic Response Function to convolve the design matrix with. |
sampling_frame |
A data frame specifying the sampling frame for the analysis. |
drop.empty |
Logical. If TRUE, empty rows in the design matrix will be removed. |
summate |
Logical. If TRUE, the convolved design matrix will be summed. |
precision |
Numeric. The desired precision for the calculations. |
... |
Additional arguments to be passed to the function. |
A convolved design matrix, in tibble format.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.