avgTrials: Average single-trials

Description Usage Arguments Value

View source: R/erp_preprocess.R

Description

avgTrials performs single-trial averaging

Usage

1
avgTrials(dat, markers, which_factors = NULL)

Arguments

dat

numeric array, the segmented ERPs

markers

data.frame containing marker definitions

which_factors

numeric or character vector indicating which columns from markers should be used for averaging. If NULL (default), all columns are used.

Value

numeric array


tdeenes/eegR documentation built on April 19, 2021, 4:17 p.m.