Re: [R] daily maximum temperature

2012-11-24 Thread arun
ginal Message - From: Dominic Roye To: arun Cc: Sent: Saturday, November 24, 2012 6:36 AM Subject: Re: [R] daily maximum temperature Hello, Your first option works well, but how i can get also the hour of the daily maximum temperature? Thanks! 2012/11/23 arun : > > > Hi, > Since yo

Re: [R] daily maximum temperature

2012-11-23 Thread arun
-01-02 11:00:00" ... #or z3<-z  z3$Max<-ave(z[,1],as.Date(index(z)),FUN=max)  z4<-z3[,-5][z3$Ta==z3$Max,]  z4 #  Ta  HR RS   v #2010-01-01 11:00:00 5.51 100  0 1.1 #2010-01-02 11:00:00 5.64 100  0 2.4 #2010-01-03 06:00:00 5.40 100  0 2.3 Hope it helps A.K. - Origina

Re: [R] daily maximum temperature

2012-11-23 Thread David Winsemius
On Nov 23, 2012, at 10:04 AM, Dominic Roye wrote: Hello, I want to filter the daily maximum temperature. For this i made this skript, but it come out wrong results. Can anybody help me? Thanks for your help! Best regards datos$X <- as.POSIXct(strptime(datos$X, "%d/%m/%Y %H:%M:%S")) z <- ag