stoffer@pitt.edu wrote:
> Full_Name: david stoffer
> Version: 1.9.0
> OS: win xp pro
> Submission from: (NULL) (67.165.78.88)
>
This is not a bug.
Please read the R FAQ and the posting guide
(http://www.r-project.org/posting-guide.html) re. what a bug is and how
to report bugs.
Please check against a recent version of R when reporting bugs (at least
R-1.9.1, or R-patched or R-devel).
> spec.pgram is supposed to plot the periodogram values in dB, i.e.,
10log10(.).
No! It is supposed to do what is documented.
?spec.pgram tells us that plot.spec() does the plotting. And ?plot.spec
tells us that "conventional log scale" is used as the default.
You can explicitly set the argument log="dB" in order to apply the
10*log10() transformation.
Uwe Ligges
> the value on the graph look ok, but the y-axis, plotted on dB scale NEVER
shows
> negative values. in other words, all values are shown as positive.
>
> ______________________________________________
> R-devel@stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-devel