period.wge | R Documentation |
Given a realization contained in a vector, this function calculates and optionally plots the periodogram in either log or non-log scale
period.wge(x, dbcalc = "TRUE", plot = "TRUE")
x |
The vector containing the time series realization |
dbcalc |
if dbcalc=TRUE (default) then the periodogram is calculated in log scale (in dB). If dbcalc is FALSE then the non-log periodogram is calculated |
plot |
if plot=TRUE (default) the periodogram is plotted. If plot=FALSE no plot is created |
freq |
Frequencies at which the periodogram is calculated |
pgram |
Periodogram values evaluated at the frequencies in freq |
Wayne Woodward
"Applied Time series Analysis with R, 2nd edition" by Woodward, Gray, and Elliott
period.wge(rnorm(100))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.