plot.OnsetsSelected: Plot a OnsetsSelected S3 object

View source: R/plot_diagnostics.R

plot.OnsetsSelectedR Documentation

Plot a OnsetsSelected S3 object

Description

Plot a OnsetsSelected S3 object

Usage

## S3 method for class 'OnsetsSelected'
plot(x, instrument = "Inst", tactus = "Matra", ...)

Arguments

x

S3 object.

instrument

column name.

tactus

beat column name (defaults to "Matra").

...

passed to barplot().

Value

Return an 'OnsetsSelected' object.

Examples

r <- get_sample_recording()
o <- get_onsets_selected_data(r)
plot(o)

movementsync documentation built on Aug. 8, 2025, 6:11 p.m.