[R] pretty for date-time?

From: <davidr_at_rhotrading.com>
Date: Thu 07 Jul 2005 - 07:28:31 EST

pretty() works well for numbers and axTicks() can help for potting log axes, but has anyone written a pretty for chron objects (or other date or date-time classes)? It would have natural units of years, months, .., days, hours, (minutes?), and it would choose the appropriate unit based on the date(time) range. I have searched the archives and documentation to no avail. (I wrote one of these back in my Fortran days, and it was non-trivial, even just for dates.)

If no-one has done it, I would be willing to work with someone more expert on production quality R to produce it.

Thanks for any pointers,

David L. Reiner

Rho Trading
440 S. LaSalle St.
Chicago  IL  60605

R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Thu Jul 07 07:34:20 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:33:18 EST