spec_pgram.Rd
calculate the spectra and cross-spectra
spec_pgram(x, spans = NULL, kernel = NULL, taper = 0.1, pad = 0, fast = TRUE, demean = FALSE, detrend = TRUE, plot = TRUE, na.action = na.fail, ...)
x | univariate or multivariate time series. |
---|---|
spans | vector of odd integers giving the widths of modified Daniell smoothers to be used to smooth the periodogram. |
kernel | alternatively, a kernel smoother of class
|
taper | specifies the proportion of data to taper. A split cosine bell taper is applied to this proportion of the data at the beginning and end of the series. |
pad | proportion of data to pad. Zeros are added to the end of
the series to increase its length by the proportion |
fast | logical; if |
demean | logical. If |
detrend | logical. If |
plot | plot the periodogram? |
na.action |
|
... | graphical arguments passed to |
array of spectra