as.data.frame.eeg_ICA: Convert 'eeg_ICA' object to data frame

View source: R/df_converters.R

as.data.frame.eeg_ICAR Documentation

Convert eeg_ICA object to data frame

Description

Convert eeg_ICA object to data frame

Usage

## S3 method for class 'eeg_ICA'
as.data.frame(
  x,
  row.names = NULL,
  optional = FALSE,
  long = FALSE,
  cond_labels,
  mixing = FALSE,
  coords = TRUE,
  ...
)

Arguments

x

Object of class eeg_ICA

row.names

Kept for compatability with S3 generic, ignored.

optional

Kept for compatability with S3 generic, ignored.

long

Convert to long format. Defaults to FALSE

cond_labels

add condition labels to data frame. Deprecated.

mixing

If TRUE, outputs the mixing matrix. If FALSE, outputs source activations.

coords

Adds electrode coordinates if TRUE; only if long data and the mixing matrix are requested.

...

arguments for other as.data.frame commands

Author(s)

Matt Craddock matt@mattcraddock.com


craddm/eegUtils documentation built on March 24, 2022, 9:17 a.m.