Learn R Programming

icaOcularCorrection (version 3.0.0)

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

Description

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

Usage

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

See Also

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

Examples

Run this code
### See vignette for examples.

Run the code above in your browser using DataLab