Skip to content
Prev 26518 / 63424 Next

Unwanted axis labels when rug() has POSIXlt argument (PR#10380)

On 27/10/2007 3:10 AM, John.Maindonald at anu.edu.au wrote:
rug() is documented to require a numeric vector as input, and z isn't 
one of those, so there's an argument that this is user error.  Still, 
its behaviour is a little surprising.

The workaround is to use rug(as.numeric(z)).

Duncan Murdoch