This tutorial may help:
http://faculty.washington.edu/ezivot/econ424/Working%20with%20Time%20Series%20Data%20in%20R.pdf
See pages 20 and 27 for your specific issue.
Best,
--
GG
[[alternative HTML version deleted]]
__
R-help@r-project.org
Try ?xts or ?zoo packages instead of ts.
--
Sent from my phone. Please excuse my brevity.
On January 31, 2016 3:59:30 PM PST, Jeff Reichman
wrote:
>R-Help Users
>
>
>
>How do I plot "Dates" on the x-axis of a TS plot
>
>
>
>>
>mydata<-c(575,125,950,5020,2515,565,135,945,5100,2510,580,140,955
R-Help Users
How do I plot "Dates" on the x-axis of a TS plot
>
mydata<-c(575,125,950,5020,2515,565,135,945,5100,2510,580,140,955,5045,2505,
570,135,1000,5005,2520,580,130,925,5000,2525,585,120,960,5025,2520)
> myts<-ts(mydata,start=as.Date("2015-01-01"))
> myts
Time Series:
Start = 16
3 matches
Mail list logo