periodogram
determines the periodogram of a time series
periodogram
determines the periodogram of a time seriesperiodogram(y, nf, ACF = FALSE, type = "cov")
y
: (n,1) vector, the time series or an acf at lags 0,1,...,n-1nf
: scalar, the number of equally spaced frequencies; not necessay an integerACF
: logical, FALSE, if y is ts, TRUE, if y is acftype
: c("cov","cor"), area under spectrum, can be variance or normed to 1.out (floor(nf/2)+1,2) matrix, the frequencies and the periodogram
data(WHORMONE) ## periodogram at Fourier frequencies and frequencies 0 and 0.5 out <-periodogram(WHORMONE,length(WHORMONE)/2,ACF=FALSE,type="cov")
Useful links