I am trying to record time series data for weeks and months; Ideally, I think I would like to use the boxes to visualize the daily data associated with the week. Although I can change the labels and grid lines along the x axis using scale_x_date , this will not affect the points on the graph.
This demonstrates the problem and my current (awkward) solution.
library(zoo) library(ggplot2) d = as.Date(c(as.Date("2007-06-01"):as.Date("2008-05-31")))
I am sure there is a more elegant way to do this from ggplot . I'm right?
@shadow the answer below is far ahead. But is there a way to do this using binning? Using stats in some way, maybe?
source share