generate_feature | R Documentation |
This function creates K shifts of a neural events vector according to the kernel length, K.
encoding |
The neural events vector (same length as BOLD time series) |
K |
The length of the kernel |
This is an internal function that is used inside a while loop by deconvolve_nlreg. Profiling of the algorithm revealed that this is the primary bottleneck, so I ported it to an Rcpp function
A matrix of length(encoding) rows and K columns, where each column contains a successively lagged copy of the encoding vector
Michael Hallquist
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.