plot_event: Highlight a scored event over a signal.

View source: R/events.R

plot_eventR Documentation

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)

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.

Value

A plot of the highlighted event over the signal.


rsleep documentation built on Nov. 6, 2023, 1:06 a.m.