Re: [R] date conversion and plot

2010-11-08 Thread Hans-Joachim Müller
Good morning, try this: #your date format datum<-c("100907","101008","101109") #convert it (works with and without as.Date) datum<-as.Date(strptime(datum,("%y%m%d"))) plot(datum,5:7) I hope it works for you Hajo Am 09.11.2010 06:37, schrieb sachinthaka.abeyward...@allianz.com.au: > Hi All, > >

[R] date conversion and plot

2010-11-08 Thread sachinthaka . abeywardana
Hi All, I have a date in the format of yymmdd (without any of the backslashes, eg. 100731). How do I convert this into a Rdate and plot it? I don't want the number of days from 1970's showing up as my date (Its the date I require). Thanks, Sachin p.s. sorry about the corporate notice I can't rem