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:
Adler, D., Murdoch, D., and others (2014). rgl: 3D visualization device system (OpenGL). 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.
Schlager, S. & authors of VCGLIB. (2014). Rvcg: Manipulations of triangular meshes (smoothing, quadric edge collapse decimation, im- and export of various mesh file-formats, cleaning, etc.) based on the VCGLIB API. R packge version 0.7.1. http://CRAN.R-project.org/package=Rvcg.
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")