Ahh, that makes more sense now. Thanks again.
On Mon, Jan 2, 2017 at 1:44 PM, Roy Mendelssohn - NOAA Federal <
roy.mendelss...@noaa.gov> wrote:
> The trick is to realize times are stored internally in a special format,
> though they can be displayed in several ways based on the internal
>
The trick is to realize times are stored internally in a special format,
though they can be displayed in several ways based on the internal
representation. The trick in doing comparison with times is to make certain
what you are comparing with has also been put into the same internal time
Bingo! Thanks! I somehow couldn't find an example like that via google.
Joe
On Mon, Jan 2, 2017 at 1:35 PM, Roy Mendelssohn - NOAA Federal
wrote:
>> test > hm("10:00")
> [1] FALSE FALSE TRUE TRUE
>> test[test > hm("10:00")]
> [1] "10H 30M 0S" "11H 0M 0S"
>
> -Roy
>
>
> test > hm("10:00")
[1] FALSE FALSE TRUE TRUE
> test[test > hm("10:00")]
[1] "10H 30M 0S" "11H 0M 0S"
-Roy
> On Jan 2, 2017, at 12:27 PM, Joe Ceradini wrote:
>
> Thanks for the reply Roy!
>
> Perhaps you're showing me the way and I'm missing it - how would I
>
Thanks for the reply Roy!
Perhaps you're showing me the way and I'm missing it - how would I
subset to only 1030 and 1100, excluding 1000? It seems I would need to
say, give me all time greater than 10:00, but the hours and minutes
are in separate slots, which is throwing me off.
Thanks again.
Hi Joe:
See below.
> On Jan 2, 2017, at 12:01 PM, Joe Ceradini wrote:
>
> Hi folks,
>
> I must be missing something obvious/painfully simple here
>
> How do I subset a time vector based on hours AND minutes? So, in this
> example, I want all time greater than 10:00,
Hi folks,
I must be missing something obvious/painfully simple here
How do I subset a time vector based on hours AND minutes? So, in this
example, I want all time greater than 10:00, i.e., 10:30 and 11:00.
I'm working with lubridate which separates the hours and minutes into
separate slots.
7 matches
Mail list logo