summarise_onsets: Summarise onsets for instruments specified

View source: R/summarise_onsets.R

summarise_onsetsR Documentation

Summarise onsets for instruments specified

Description

summarise_onsets is a function that summarises the time difference between successive onsets across instruments.

Usage

summarise_onsets(
  df = NULL,
  instr = NULL,
  filter_lower = 0,
  filter_upper = 2,
  binw = 0.25,
  plot = FALSE
)

Arguments

df

data frame to be processed (required)

instr

Instrument names to be processed (required)

filter_lower

Lower limit for onset differences to be summarised (default 0)

filter_upper

Upper limit for onset differences to be summarised (default 2)

binw

bin width for histogram (default 0.25)

plot

Option for plotting (defaul FALSE)

Value

Output contain summarises of the onset differences


tuomaseerola/onsetsynch documentation built on Jan. 17, 2024, 10:58 a.m.