powered by
This is a wrapper that computes the periodogram
periodogram(y,log='no',plot=TRUE,ylab="Periodogram", xlab="Frequency",lwd=2,...)
A univariate time series
if set to "yes", the periodogram is plotted on the log-scale; default="no"
The periodogram is plotted if it is set to be TRUE which is the default
label on the y-axis
label on the x-axis
thickness of the periodogram lines
other arguments to be passed to the plot function
A list that contains the following elements:
Vector of frequencies at which the spectral density is estimated. (Possibly approximate Fourier frequencies.
Vector of estimates of the periodogram at frequencies corresponding to freq.
Bloomfield, P. (1976) Fourier Analysis of Time Series: An Introduction. Wiley.
Brockwell, P. J. and Davis, R. A. (1991) Time Series: Theory and Methods. Second edition. Springer.
# NOT RUN { data(star) plot(star,xlab='Day',ylab='Brightness') periodogram(star,ylab='Variable Star Periodogram'); abline(h=0) # }
Run the code above in your browser using DataLab