electrode_locations: Get standard electrode locations

Description Usage Arguments Value Methods (by class)

View source: R/channel_management.R

Description

Joins standard electrode locations to EEG data from eegUtils internal data.

Usage

1
2
3
4
5
6
7
8
9
electrode_locations(data, ...)

## S3 method for class 'data.frame'
electrode_locations(data, electrode = "electrode",
  drop = FALSE, plot = FALSE, montage = NULL, ...)

## S3 method for class 'eeg_data'
electrode_locations(data, drop = FALSE,
  plot = FALSE, montage = NULL, overwrite = FALSE, ...)

Arguments

data

An EEG dataset.

...

Parameters passed to S3 methods.

electrode

The column name containing electrode names in data. (Defaults to "electrode").

drop

Should electrodes in data for which default locations are not available be dropped? (Defaults to FALSE).

plot

Plot obtained electrode locations.

montage

Name of an existing montage set. Defaults to NULL; (currently only 'biosemi64alpha' available other than default 10/20 system)

overwrite

Overwrite existing channel info. Defaults to FALSE.

Value

A tibble (or data.frame), or ggplot2 object if plot = TRUE.

Methods (by class)


craddm/eegUtils documentation built on Dec. 8, 2018, 2:15 p.m.