plot.OnsetsSelected function

Plot a OnsetsSelected S3 object

Plot a OnsetsSelected S3 object

## 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().

Returns

Return an 'OnsetsSelected' object.

Examples

r <- get_sample_recording() o <- get_onsets_selected_data(r) plot(o)
  • Maintainer: Tuomas Eerola
  • License: MIT + file LICENSE
  • Last published: 2023-06-09

Useful links