how can I add a label to the max value of this plot:
qplot(c, data=subset(df,c < 3000),geom="freqpoly")
c is just integers
I think either annotate
or geom_text
is what you're looking for. https://stackoverflow.com/questions/2409357/how-to-nicely-annotate-a-ggplot2-manual