Computes the average across epochs, optionally by condition.
Value
A PhysioExperiment object with an "averaged" assay containing
the mean signal across epochs. If by is specified, the third dimension
corresponds to conditions.
References
Luck, S.J. (2014). "An Introduction to the Event-Related Potential Technique." 2nd ed. MIT Press.
See also
epochData() to create epoched data, grandAverage() for
averaging across subjects, plotERP() for ERP visualization.