as.data.frame.eeg_data: Convert eeg_data to data.frame

Description Usage Arguments Author(s)

View source: R/utils.R

Description

Convert an object of class eeg_data into a standard data.frame.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
## S3 method for class 'eeg_data'
as.data.frame(
  x,
  row.names = NULL,
  optional = FALSE,
  long = FALSE,
  events = FALSE,
  coords = FALSE,
  ...
)

Arguments

x

Object of class eeg_data

row.names

Kept for compatibility with S3 generic, ignored.

optional

Kept for compatibility with S3 generic, ignored.

long

Convert to long format. Defaults to FALSE

events

Include events in output.

coords

Include electrode coordinates in output. Only possible when long = TRUE.

...

arguments for other as.data.frame commands

Author(s)

Matt Craddock matt@mattcraddock.com


kusumikakd/EEG documentation built on June 28, 2020, 12:30 a.m.