[R] Bug in seq.date?

hadley wickham h.wickham at gmail.com
Mon Jun 4 19:55:29 CEST 2007

On 6/4/07, Don MacQueen <macq at llnl.gov> wrote:
> I think you can easily get the last days of the months by creating a
> series starting on the first days, and subtracting one from each.
> seq(as.Date("2000-2-1"), as.Date("2001-2-1"), "months") -1

Thanks for the suggestion, but for my problem the dates are user
supplied so I don't know if they fall at the end of the month or not.


More information about the R-help mailing list