Learn R Programming

eegkit (version 1.0-4)

eegcoord: 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)

Arguments

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

Nathaniel E. Helwig <helwig@umn.edu>

Examples

Run this code
##########   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")

Run the code above in your browser using DataLab