Skip to content
Prev 311782 / 398503 Next

daily maximum temperature

Hi,

If I understand your question, this would do it:
z2<-transform(z2,Hr=format(index(z2),"%H"))
?z2
#??????????????????? Ta?? HR? RS v?? Hr
#2010-01-01 11:00:00 5.51 100 0? 1.1 11
#2010-01-02 11:00:00 5.64 100 0? 2.4 11
#2010-01-03 06:00:00 5.40 100 0? 2.3 06
A.K.



----- Original Message -----
From: Dominic Roye <dominic.roye at gmail.com>
To: arun <smartpink111 at yahoo.com>
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 <smartpink111 at yahoo.com>:
Message-ID: <1353772321.25520.YahooMailNeo@web142602.mail.bf1.yahoo.com>
In-Reply-To: <CALvVS-GNVcqn1LUDNkoV4K+btMuqh7CbZc__prVG70yWp6HjQw@mail.gmail.com>