Learn R Programming

movementsync (version 0.1.5)

plot.OnsetsSelected: Plot a OnsetsSelected S3 object

Description

Plot a OnsetsSelected S3 object

Usage

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

Value

Return an 'OnsetsSelected' object.

Arguments

x

S3 object.

instrument

column name.

tactus

beat column name (defaults to "Matra").

...

passed to barplot().

Examples

Run this code
r <- get_sample_recording()
o <- get_onsets_selected_data(r)
plot(o)

Run the code above in your browser using DataLab