Re: [Rd] cdplot() with 'POSIXct' x

2010-05-13 Thread Achim Zeileis
On Thu, 13 May 2010, Sebastian P. Luque wrote: Hi, Given that cdplot() is used to produce the conditional density of a categorical y along a numerical x, it seems natural that it could be used with a date or time x (such as 'POSIXct'). Is this desirable? If so, I've created a patch that would

[Rd] cdplot() with 'POSIXct' x

2010-05-13 Thread Sebastian P. Luque
Hi, Given that cdplot() is used to produce the conditional density of a categorical y along a numerical x, it seems natural that it could be used with a date or time x (such as 'POSIXct'). Is this desirable? If so, I've created a patch that would allow this, by coercing the POSIXct x variable to