On Sat, Jul 10, 2010 at 3:17 PM, Gabor Grothendieck <ggrothendi...@gmail.com> wrote: > On Sat, Jul 10, 2010 at 3:34 PM, Bogaso Christofer > <bogaso.christo...@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. ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.