Hello,
I have a column with dates in the form %Y-%m-%d %H:%M:%S; I want to substract
the line i+1 to the line i and get a numeric result (in seconds for instance).
This is what I did (I take the data from a database):
res<- dbSendQuery (con, "SELECT Date_Heure FROM data.meteo ")Time<-fetch(re
Thanks a lot to all of you, it works now
Cheers,
Solène Goy> Subject: Re: [R] How to get the day of the year> From: [EMAIL
PROTECTED]> To: [EMAIL PROTECTED]> CC: r-help@r-project.org> Date: Wed, 1 Oct
2008 13:52:09 +0100> > On Wed, 2008-10-01 at 08:42 +, Solene
Hello,
I am new to R and I would like to get the day of the year from numerous data in
the following form: %a %d/%b/%Y %H:%M:%S (for example from Tu 10/Jul/2007
21:59:13 I would like to get 191)
Whatever I try, I get NAs.
Well... I need your help, please!
Thanks in advance
Yours sincerely,
3 matches
Mail list logo