[R] problems with seq.dates

Ciprian_Marin@ssga.com Ciprian_Marin at ssga.com
Thu Nov 4 12:41:18 CET 2004





There seem to be a bug in the seq.dates function in the chron package for R
2.0. Please see below:

when the specified frequency is "months", seq.dates does not return the end
of the specified interval all the time:

> seq.dates(from = "05/31/04", to = "12/31/04", by = "months")
[1] 05/31/04 06/30/04 07/31/04 08/31/04 09/30/04 10/31/04 11/30/04

Ciprian


Ciprian V Marin
State Street Global Advisors Limited

Authorised and regulated by the Financial Services Authority
Recipient of the Queen's Award for Enterprise 2003

0207 698 6195 (Direct Line)
0207 698 6333 (Main Fax)

Please visit our Web site at www.ssga.co.uk




More information about the R-help mailing list