hadley/ggplot2 — Issue #428: Add group option to scale_z_date/datetime
Author: dnadave
Created: 2012-03-07 23:06:52+00:00
State: open

One may want to group objects by soem time increment when using scale_z_date/datetime for either z=x or z=y axes. Syntax such as the following would allow one to both indicate you want to group by time and by what time interval you want the grouping to occur.

qplot( time , y , data = d , geom = "boxplot" , fill = z , group = time ) + scale_x_date( group = "1 day" )

The above would say that in data set d, you want boxplots for each day and those boxplots should be split by the levels of variable z.

This would be a nice enhancement.