eeg_average: Calculate averages (e.g. ERPs) for single datasets

Description Usage Arguments Methods (by class) Author(s)

View source: R/data_averaging.R

Description

This function is used to create an eeg_evoked object from eeg_epochs.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
eeg_average(data, ...)

## Default S3 method:
eeg_average(data, ...)

## S3 method for class 'eeg_epochs'
eeg_average(data, cols = NULL, ...)

## S3 method for class 'eeg_evoked'
eeg_average(data, cols = NULL, ...)

## S3 method for class 'eeg_tfr'
eeg_average(data, cols = NULL, ...)

Arguments

data

An eeg_epochs object.

...

Other arguments passed to the averaging functions

cols

Columns from the epochs structure that the average should group on. NULL, the default, uses all columns other than the epoch column.

Methods (by class)

Author(s)

Matt craddock matt@mattcraddock.com


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