Learn R Programming

rsleep (version 1.0.12)

plot_event: Highlight a scored event over a signal.

Description

Highlight a scored event over a signal.

Usage

plot_event(signal, sRate, sig_start, event_start, event_end, window = 10)

Value

A plot of the highlighted event over the signal.

Arguments

signal

The signal vector.

sRate

Sample rate of the signal.

sig_start

Date-Time value of the signal start.

event_start

Date-Time value of the event start.

event_end

Date-Time value of the event end.

window

Number of seconds of signal to plot before, and after.