Description Usage Arguments Value
View source: R/erp_preprocess.R
centroid
computes the centroids (separately for the negative and
positive values)
1 |
dat |
numeric vector of amplitudes at a given sampling point |
ch_pos |
matrix or data.frame containing channel positions (in the same
order as dat), see |
proj2map |
logical value; if TRUE (default), the centroids are projected onto a 2D plane |
proj_unitsphere |
logical value; if TRUE, and proj2map is also TRUE, the projection assumes unit radius |
... |
additional parameters to |
A data.frame containing the positions of the negative and positive centroids
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.