View source: R/convolve_afni.R
convolve_afni | R Documentation |
convolve_afni
convolve_afni(
data,
hrf,
tr,
n_volumes,
upsample_factor = NULL,
afni_path = NULL,
afni_quiet = FALSE
)
data |
data to convolve |
hrf |
hemodynamic response function (hrf) time series |
tr |
repition time (tr) in seconds |
n_volumes |
number of volumes or time points |
upsample_factor |
factor to upsample data for convolution step |
data <- sample(7500:15000, 10, T)/100
hrf <- create_hrf_afni("spmg1", 16)
convolve_afni(data, hrf, 1.5, 100, 16)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.