eegcoord {eegkit} | R Documentation |
EEG Cap Coordinates
Description
Three-dimensional electroencephalography (EEG) electrode coordinates (measured in cm), and corresponding projection onto two-dimensional xy plane. Contains 84 scalp electrodes, as well as nose and ears.
Usage
data(eegcoord)
Format
A data frame with 87 observations and the following 5 variables:
- x
-
x-coordinate of 3d cap (numeric).
- y
-
y-coordinate of 3d cap (numeric).
- z
-
z-coordinate of 3d cap (numeric).
- xproj
-
Projected x-coordinate of 2d cap (numeric).
- yproj
-
Projected y-coordinate of 2d cap (numeric).
Electrode channel name labels can be obtained using rownames(eegcoord)
.
Author(s)
Nathaniel E. Helwig <helwig@umn.edu>
Source
Created by Nathaniel E. Helwig (2014) using:
Murdoch, D., and Adler, D. (2025). rgl: 3D Visualization Using OpenGL. doi:10.32614/CRAN.package.rgl, R package version 1.3.18, http://CRAN.R-project.org/package=rgl
Oostenveld, R., and Praamstra, P. (2001). The Five percent electrode system for high-resolution EEG and ERP measurements. Clinical Neurophysiology, 112, 713-719. doi:10.1016/S1388-2457(00)00527-7
Schlager S (2017). Morpho and Rvcg - Shape Analysis in R. In Zheng G, Li S, Szekely G (eds.), Statistical Shape and Deformation Analysis, 217-256. Academic Press. ISBN 9780128104934.
Examples
########## EXAMPLE ##########
data(eegcoord)
enames <- rownames(eegcoord)
# plot3d(eegcoord[,1],eegcoord[,2],eegcoord[,3],size=10,col="green")
# text3d(eegcoord[,1],eegcoord[,2],eegcoord[,3],texts=enames,col="blue")
plot(eegcoord[,4],eegcoord[,5],cex=2,col="green",pch=19)
text(eegcoord[,4],eegcoord[,5],labels=enames,col="blue")