[Rd] bug in hist.POSIXt , hist.Date

Ben Bolker bbolker at gmail.com
Wed Apr 13 15:57:13 CEST 2011


Joris Meys <jorismeys <at> gmail.com> writes:

> 
> The behaviour of hist.POSIXt when using the col argument is different
> from the default hist, in the respect that it colors the axes as well.
> I think this is due to the ... argument, which is passed to the
> axis.POSIXct() function. In the default hist, col is set as a fixed
> argument, and hence cannot be passed unwantedly to other functions.
> Maybe this should be done with hist.POSIXt as well. The same goes for
> hist.Date

  Reproducible example:

 hist(.leap.seconds, "years", freq = TRUE,col=2)



More information about the R-devel mailing list