plot_avgba: Plot the average waveforms at each channel before and after...

Description Usage Arguments Value Author(s) See Also Examples

View source: R/plot_avgba.R

Description

For each channel, the average for uncorrected (black line) and corrected (blue line) waveforms across all trials is computed and plotted.

Usage

1
2
plot_avgba(x, data, channel = NULL, n.win = NULL, 
new.page = TRUE, time.cn = "Time", ...)

Arguments

x

An icac object as returned by the function of the same name.

data

The uncorrected data that was supplied to function icac.

channel

The channels that were corrected.

n.win

Integer. The number of time courses to plot. Defaults to NULL, which results in the number time courses per window equal to the number of channels to plot up to 10.

new.page

NULL or a logical value. If TRUE (the default), the user will be prompted before a new page of output is started.

time.cn

The name of the column that contains time information.

...

Further arguments to be passed to plot and lines.

Value

A plot.

Author(s)

Antoine Tremblay, Dalhousie University, trea26@gmail.com

See Also

fastICA; icac; mwd.thrsh; plot_trba; plot_nic; plot_tric; summary.icac; topo_ic; update.icac.

Examples

1
### See vignette for examples.

Example output

Loading required package: fastICA
Loading required package: mgcv
Loading required package: nlme
This is mgcv 1.8-27. For overview type 'help("mgcv-package")'.

icaOcularCorrection documentation built on May 29, 2017, 1:53 p.m.