Does anyone know of a resource for learning the basics of how to manage and manipulate dates and times in R? I have been reading "Introductory Statistics with R" by Peter Dalgaard which is fantastic. But alas, I could find no reference to date and time. I have looked at the reference manual but it is particularly unapproachable. So rather than dense technical talk I would rather see a dataset, several arguments and commentary of what is happening. The alternative to is to make Excel or Microsoft Access handle all the date and time work (I have had about 16 years experience with how to calculate and handle date and time in those programs) and then use RODBC to read it.
To manipulate date/time I use packages "zoo" and "survival". Hope it helps, Augusto -------------------------------------------- Augusto Sanabria. MSc, PhD. Mathematical Modeller Risk Research Group Geospatial & Earth Monitoring Division Geoscience Australia (www.ga.gov.au) Cnr. Jerrabomberra Av. & Hindmarsh Dr. Symonston ACT 2609 Ph. (02) 6249-9155 -----Original Message----- From: r-help-bounces at stat.math.ethz.ch [mailto:r-help-bounces at stat.math.ethz.ch] On Behalf Of Farrel Buchinsky Sent: Friday, 10 March 2006 2:39 PM To: r-help at stat.math.ethz.ch Subject: [R] Date and Times a la Dalgaard Does anyone know of a resource for learning the basics of how to manage and manipulate dates and times in R? I have been reading "Introductory Statistics with R" by Peter Dalgaard which is fantastic. But alas, I could find no reference to date and time. I have looked at the reference manual but it is particularly unapproachable. So rather than dense technical talk I would rather see a dataset, several arguments and commentary of what is happening. The alternative to is to make Excel or Microsoft Access handle all the date and time work (I have had about 16 years experience with how to calculate and handle date and time in those programs) and then use RODBC to read it. ______________________________________________ R-help at stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
On Thu, 2006-03-09 at 22:38 -0500, Farrel Buchinsky wrote:> Does anyone know of a resource for learning the basics of how to manage and > manipulate dates and times in R? I have been reading "Introductory > Statistics with R" by Peter Dalgaard which is fantastic. But alas, I could > find no reference to date and time. I have looked at the reference manual > but it is particularly unapproachable. So rather than dense technical talk I > would rather see a dataset, several arguments and commentary of what is > happening. The alternative to is to make Excel or Microsoft Access handle > all the date and time work (I have had about 16 years experience with how to > calculate and handle date and time in those programs) and then use RODBC to > read it.You might want to look at the following articles from R News: author = {Brian D. Ripley and Kurt Hornik}, title = {Date-Time Classes}, journal = {R News}, year = 2001, volume = 1, number = 2, pages = {8--11}, month = {June}, url = {http://CRAN.R-project.org/doc/Rnews/} author = {Gabor Grothendieck and Thomas Petzoldt}, title = {R Help Desk: Date and Time Classes in {R}}, journal = {R News}, year = 2004, volume = 4, number = 1, pages = {29--32}, month = {June}, url = {http://CRAN.R-project.org/doc/Rnews/} HTH, Marc Schwartz