Skip to content
Prev 17708 / 63424 Next

coplot using Date object (PR#8147)

On Tue, 20 Sep 2005 mwtoews at sfu.ca wrote:

            
Why do you expect it to be?  plot() is generic, and coplot() is not: 
plot(value ~ date) is just a round-the-houses way to generate the call 
plot(date, value) (and that is why it happens to work with Date objects).

Think of coplot() as a limited predecessor of lattice graphics, which also 
precedes class "Date".  Lattice currently handles POSIXct date-times, and 
it would be nice if it handled Date too.