Description Usage Arguments Value Examples
Compute auto-bispectrum with the multitaper method
1 | bispec.mtm(x, deltat = 1, nw = 4, k = 7, nPoly = 3)
|
x |
regularly sampled univariate time series. Can be passed as a ts object, a data.frame or simple vector of values. In the case of the latter, deltat must be specified. If passed as a data.frame, the first column must provide timing, the second the data itself. |
deltat |
time interval between samples, used only if x is passed as a vector. Defaults to 1. |
nw |
multitaper frequency bandwidth parameter, defaults to 4. |
k |
number of tapers, typically 2 * nw - 1, defaults to 7. |
nPoly |
order of the polynomial used for DC/trend removal, defaults to 3. |
list containing frequency, bispectrum, bispectral power, and bicoherence.
"freq1" |
f1 frequencies (0 to Nyquist) |
"freq2" |
f12 frequencies (-Nyquist to Nyquist / 2) |
"bispec" |
Complex bispectrum [f1, f2] |
"coher" |
bicoherence [f1, f2] |
"bpspec" |
bispectral power [f1,f2] |
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.