channels_tbl: Functions to get or set the channel information of an eeg_lst...

View source: R/tbl.R

channels_tblR Documentation

Functions to get or set the channel information of an eeg_lst object.

Description

Functions to get or set the channel information of an eeg_lst object.

Usage

channels_tbl(.data, ...)

channels_tbl(.data) <- value

Arguments

.data

An eeg_lst object.

...

Not in use.

value

A channel table.

Value

A table.

See Also

Other functions to expose internal parts of eeg_(ica_)_lst: events_tbl(), ica_matrix_lst(), segments_tbl(), signal_tbl()

Examples

## Not run: 
library(dplyr)
# Get channel information:
channels_tbl(faces_seg)
# Set channel information using dplyr's mutate and replace
channels_tbl(faces_seg) <- mutate(channels_tbl(faces_seg),
  .channel = replace(.channel, .channel == "HEOG", "EOGH"),
  .channel = replace(.channel, .channel == "VEOG", "EOGV")
)

## End(Not run)


bnicenboim/eeguana documentation built on March 16, 2024, 7:21 a.m.