[R] Need help on date calculation

Gabor Grothendieck ggrothendieck at gmail.com
Sat Jul 10 22:11:42 CEST 2010


On Sat, Jul 10, 2010 at 3:17 PM, Gabor Grothendieck
<ggrothendieck at gmail.com> wrote:
> On Sat, Jul 10, 2010 at 3:34 PM, Bogaso Christofer
> <bogaso.christofer at gmail.com> wrote:
>> Thanks Gabor for your input. However my question is, is your solution
>> general for any value of "a" and "b?"
>>
>
> #1 and #2 are general.
>
> For #3 I think there is a possibility you might in general have to do
> the same tricks as #1 and #2 but am not sure.  Suggest you discuss
> with author of mondate package.
>

One difference: #2 assumes b >= a but #1 works regardless of which one
is larger.



More information about the R-help mailing list