View source: R/glm_helper_functions.R
compute_spike_regressors | R Documentation |
compute spike regressors from a data.frame or matrix of motion parameters and a set of expressions that are evaluated against this parameter matrix.
compute_spike_regressors(mot = NULL, spike_volume = NULL, lg = NULL)
mot |
a data.frame or matrix with volumes on rows and named motion parameters on columns |
spike_volume |
a character vector of expressions to evaluate against |
a matrix of spike regressors (volumes on rows, spike regressors on columns)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.