Computes a periodogram for a time series. Wrapper around multitaper::spec.
1 2 | periodogram(ts, frequency = 1, dtUnits = "year", deltat = 1000, nw = 4,
k = 2 * nw)
|
ts |
A time series of equally spaced data for which to compute the periodogram. |
frequency |
The time series is converted to a stats::ts object before being fed to multitaper::spec.mtm. dtUnits gives the frequency for the stats::ts object. |
dtUnits |
The time unit for the time series. |
deltat |
The time series is converted to a stats::ts object before being fed to multitaper::spec.mtm. deltat gives time increment for ths stats::ts object in terms of dtUnits |
nw |
nw a positive double precision number, the time-bandwidth parameter. |
k |
k a positive integer, the number of tapers, often 2*nw. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.