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
eeg_average(data, ...)

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

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

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

Arguments

data

An eeg_epochs object.

...

Other arguments passed to the averaging functions

cond_label

Only pick events that include a given label. Character vector.

calc_var

Can be used to calculate measures of variability around the average.

Methods (by class)

Author(s)

Matt craddock [email protected]


craddm/eegUtils documentation built on Dec. 15, 2018, 6:17 p.m.