Displaying 1 result from an estimated 1 matches for "dadosr3".
2011 Oct 17
2
Beginner's question about plotting variables in a time series object with the date on the x axis
...gentle :)
I have already read manuals and FAQs, with no help.
I have a monthly time series data on public debt with 40 variables, it starts on January 1994 and ends on June 2011.
I am loading the data into 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.t...