plot_trba: Plot the corrected and uncorrected time course at a specific...

Description Usage Arguments Value Author(s) See Also Examples

View source: R/plot_trba.R

Description

For each trial, the corrected (blue line) and uncorrected (black line) are plotted. Optionally, a noise signal can be superimposed (grey line).

Usage

1
2
plot_trba(x, data, channel, noise.sig = NULL, 
n.win = 10, new.page = TRUE, trial.cn = "Trial", ...)

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 name of one of the channels that were corrected.

noise.sig

Optional. The name of one of the noise signals.

n.win

Integer. The number of time courses to plot. Defaults 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.

trial.cn

The name of the column that contains trial 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_avgba; 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.