View source: R/condition_basis_list.R
condition_basis_list | R Documentation |
event_term
to a per-condition basis listA lightweight wrapper around convolve()
that post-processes the
resulting design matrix into a named list of T x d matrices - one per
experimental condition ("base condition tag"). This keeps all of the
heavy lifting inside fmrireg while exposing a minimal, pipe-friendly API
that can be used anywhere a condition -> basis split is required (e.g. for
CFALS).
condition_basis_list(
x,
hrf,
sampling_frame,
...,
output = c("condition_list", "matrix")
)
x |
An |
hrf |
An |
sampling_frame |
A |
... |
Further arguments passed on to
|
output |
Either "matrix" (default) for the ordinary design matrix or "condition_list" for the split-by-condition list. |
A numeric matrix or a named list of matrices, depending on
output
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.