per | R Documentation |
Simply estimate the periodogram via the Fast Fourier Transform.
per(z)
z |
numeric vector with the series to compute the periodogram from. |
This is basically the same as
spec.pgram(z, fast = FALSE, detrend = FALSE, taper = 0) $ spec
,
and not really recommended to use — exactly for the reason that
spec.pgram
has the defaults differently,
fast = TRUE, detrend = TRUE, taper = 0.1
, see that help page.
numeric vector of length 1 + floor(n/2)
where n = length(z)
.
Jan Beran (principal) and Martin Maechler (fine tuning)
a more versatile periodogram estimate by
spec.pgram
.
data(NileMin)
plot(10*log10(per(NileMin)), type='l')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.