Estimate the periodicity of the onsets by a specific method
periodicity.Rd
This function plots the calculated asynchronies of instruments and labels these by instruments.
Usage
periodicity(
df = NULL,
instr = NULL,
method = "per",
sampling_rate = 500,
freq_range = c(0, 2),
resolution = 0.01,
colour = "navyblue",
title = NULL
)
Arguments
- df
data frame to be processed (required)
- instr
Instrument name to be processed (required)
- method
Periodicity analysis method: per (default), diff, acf, or fft
- sampling_rate
Sampling rate (Hz), default 500 Hz
- freq_range
Frequency range to be included in the periodicity analysis (in seconds), default 0 to 2
- resolution
Resolution for some of the analyses (in seconds), default 0.01
- colour
Line colour for plotting (optional)
- title
Title for plotting (optional)
See also
summarise_periodicity
for summary function.