scales icon indicating copy to clipboard operation
scales copied to clipboard

Breaks, labels, and trans for difftime

Open paleolimbot opened this issue 6 years ago • 0 comments
trafficstars

There currently isn't any break, label, or trans functions for difftime objects. There are some excellent functions that do this for difftimes in the bench package that could be used for inspiration:

https://github.com/r-lib/bench/blob/3e5d63fbe263f3ced4b61715f21b951361bfef77/R/time.R

And some combination of these functions could be used to generate difftime breaks even for log scales (see r-lib/bench#50)

paleolimbot avatar Jun 17 '19 19:06 paleolimbot