per: Simple Periodogram Estimate

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/WhittleEst.R

Description

Simply estimate the periodogram via the Fast Fourier Transform.

Usage

1
per(z)

Arguments

z

numeric vector with the series to compute the periodogram from.

Details

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.

Value

numeric vector of length 1 + floor(n/2) where n = length(z).

Author(s)

Jan Beran (principal) and Martin Maechler (fine tuning)

See Also

a more versatile periodogram estimate by spec.pgram.

Examples

1
2

longmemo documentation built on March 26, 2020, 7:42 p.m.