Displaying 1 result from an estimated 1 matches for "divliq".
2011 Oct 17
2
Beginner's question about plotting variables in a time series object with the date on the x axis
...to R using read.csv and the data looks ok when I do edit(dados):
> dados<-read.csv("dadosR3.csv", header=T)
then I tried making it into a time series object, using:
> dados2<-ts(dados, start = c(1994,1), frequency=12)
Now when I try plotting any of the variables, for example divliq.pib (net debt), the date doesn't appear on the x axis. How can I do this?
I use
> plot.ts(divliq.pib)
also the function names() doesn't work, which would be important since I have so many variables.
> names(dados2)
NULL
I am using R.2.13.1
Thank you very much.
[[alternative HTM...