gen_hrf_blocked | R Documentation |
The gen_hrf_blocked
function creates a blocked HRF by convolving the input HRF with a boxcar function. This can be used to model block designs in fMRI analysis.
gen_hrf_blocked(
hrf = hrf_gaussian,
width = 5,
precision = 0.1,
half_life = Inf,
summate = TRUE,
normalize = FALSE,
...
)
hrf_blocked(
hrf = hrf_gaussian,
width = 5,
precision = 0.1,
half_life = Inf,
summate = TRUE,
normalize = FALSE,
...
)
hrf |
A function representing the hemodynamic response function. Default is |
width |
A numeric value specifying the width of the block in seconds. Default is 5. |
precision |
A numeric value specifying the sampling resolution in seconds. Default is 0.1. |
half_life |
A numeric value specifying the half-life of the exponential decay function, used to model response attenuation. Default is |
summate |
A logical value indicating whether to allow each impulse response function to "add" up. Default is |
normalize |
A logical value indicating whether to rescale the output so that the peak of the output is 1. Default is |
... |
Extra arguments passed to the HRF function. |
A function
representing the blocked HRF.
A function
representing the blocked HRF.
hrf_blocked()
: alias for gen_hrf_blocked
Other gen_hrf:
gen_hrf_lagged()
,
gen_hrf_set()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.