afni_trialwise | R Documentation |
construct a native AFNI hrf specification for '3dDeconvolve' and individually modulated events using the 'stim_times_IM' argument.
afni_trialwise(
label,
basis = c("spmg1", "block", "dmblock", "gamma", "wav"),
onsets = NULL,
durations = 0,
subset = NULL,
id = NULL,
start = 0,
stop = 22
)
label |
name of regressor |
basis |
the impulse response function or the name of a pre-supplied function, one of: "gamma", "spmg1", "spmg2", "spmg3", "bspline", "gaussian". |
onsets |
optional onsets override. If missing, onsets will be taken from the |
durations |
optional durations override. If missing, onsets will be taken from the |
subset |
an expression indicating the subset of 'onsets' to keep |
id |
a unique |
start |
start of hrf (for multiple basis hrfs) |
stop |
end of hrf (for multiple basis hrfs) |
an afni_trialwise_hrfspec
instance
tw <- afni_trialwise("trialwise", basis="gamma", onsets=seq(1,100,by=5))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.