As far as I can see, you just want to add a true average (or a few?) To the graph of the window. If you have values, why use stat_summary instead of just drawing dots?
x <- rnorm(30)
y <- rep(letters[1:3],10)
TrueAVGCPC <- c(0.34,0.1,0.44)
p <- qplot(y,x,geom='boxplot')
p <- p+geom_point(aes(x=c(1,2,3),y=TrueAVGCPC),col="red")
print(p)
source
share