[R] plotting spectrum of time series etc

zj@expert.cc.purdue.edu zj at expert.cc.purdue.edu
Tue Feb 1 14:37:11 CET 2000


Hi, everyone, I tried to use "spectrum()" or "spec.pgram()" to get a
periodogram of a time series but they didn't work.
Even the examples given in the help file didn't work (all with the same
error message, below). And the 'ts'ibrary was
loaded with "library(ts)" or "library("ts"). I also tried
library(tseries) but got the same problem. Could anyone please
give me some help with this?

> spectrum(seriesa)
Error in plot.spec(spg.out, ...) : binary operator applied to invalid
types.

Also, I'm running R under windows 95, and I can't seem to set the line
length of the display right. So sometimes I got an error message that's
too long and I can't read it in full. I tried options(width=??) or
.Options$width=??, they changed the values, but had no effect on the
display.

Thanks a lot!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: zj.vcf
Type: text/x-vcard
Size: 216 bytes
Desc: Card for Ĩ
Url : https://stat.ethz.ch/pipermail/r-help/attachments/20000201/152536f2/zj.vcf


More information about the R-help mailing list