Re: [R] Time data

2005-12-20 Thread Gabor Grothendieck
On 12/20/05, Marc Bernard <[EMAIL PROTECTED]> wrote: > Dear All, I wonder how to compute the age from the date of birth and the date > of examination. Suppose that have the following data: > > df <- as.data.frame(rbind(c(1,"10/08/1950","15/03/1998"), > c(1,"10/08/1950","20/07/1998"), c(1,"10/08/

Re: [R] Time data

2005-12-20 Thread Petr Pikal
Hi On 20 Dec 2005 at 11:12, Marc Bernard wrote: Date sent: Tue, 20 Dec 2005 11:12:28 +0100 (CET) From: Marc Bernard <[EMAIL PROTECTED]> To: r-help@stat.math.ethz.ch Subject: [R] Time data > Dear All, I wonder how to co

[R] Time data

2005-12-20 Thread Marc Bernard
Dear All, I wonder how to compute the age from the date of birth and the date of examination. Suppose that have the following data: df <- as.data.frame(rbind(c(1,"10/08/1950","15/03/1998"), c(1,"10/08/1950","20/07/1998"), c(1,"10/08/1950","23/10/1998"))) names(df) <- c("ID", "date_bir

Re: [R] time data

2004-12-01 Thread Petr Pikal
__ [EMAIL PROTECTED] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

[R] time data

2004-11-30 Thread Karla Meurk
I have a data set with date, time and rainfall (sample below) my questions are (a) is there a command like as.date for time? and (b) Can R smooth data 6 hourly with such unevenly spaced data? Thanks Carla 09/29/02 19:33 0 09/29/02 19:34 0 09/29/02 19:35 0 09/29/02