Suppose I have a dataframe:
hist <- data.frame(date=Sys.Date() + 0:13, counts=1:14)
I want to plot the total count ag
If I understand the issue correctly, specifying group=1 and adding a stat_summary() layer should do the trick:
group=1
stat_summary()
ggplot(hist, aes(x=weekday, y=counts, group=1)) + geom_point(stat='summary', fun.y=sum) + stat_summary(fun.y=sum, geom="line")