[r-help-boun...@r-project.org] On Behalf Of
Dennis Murphy [djmu...@gmail.com]
Sent: 31 January 2011 11:51
To: bill.venab...@csiro.au
Cc: R-help@r-project.org
Subject: Re: [R] leap year and order function
Hi:
There is an additional proviso:
If the year is divisible by 100, then the next test is
365
> 365 366 365 365
> >
>
> -Original Message-
> From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org]
> On Behalf Of Bobby Lee
> Sent: Monday, 31 January 2011 2:23 PM
> To: R-help@r-project.org
> Subject: [R] leap year and order function
>
&
5 366 365 365 365 366 365 365 365 366 365 365 365
366 365 365
>
-Original Message-
From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On
Behalf Of Bobby Lee
Sent: Monday, 31 January 2011 2:23 PM
To: R-help@r-project.org
Subject: [R] leap year and order function
im trying to write a for loop so that every leap year, the number of days
becomes to 366 instead of 365. could someone help me out?
and also, this set of data has 99.99s I set all the 99.99 ==NA.
however, when im doing the order function to find the max value of that
year, it still reads 99.99 as t
4 matches
Mail list logo