Estimate bispectrum from real- or complex-valued time series data.
bispectrum(
data,
window_function = NULL,
mc = FALSE,
mc_cores = getOption("mc.cores", 2L)
)
Given time series, as a data frame or matrix with which columns correspond to sampled stretches.
A window function's name for tapering. Defaults to
NULL
("no tapering").
Currently the following window functions are available: Hamming window ("hamming"), Hann window ("hann"), and Blackman window ("blackman").
If TRUE
, calculation is done in parallel computation.
Defaults to FALSE
.
The number of cores in use for parallel computation, passed
parallel::mcmapply()
etc. as mc.cores
.
A data frame including the following columns:
The first elements of frequency pairs.
The second elements of frequency pairs.
The estimated bispectrum at each frequency pair.
Brillinger, D.R. and Irizarry, R.A. "An investigation of the second- and higher-order spectra of music." Signal Processing, Volume 65, Issue 2, 30 March 1998, Pages 161-179.