How do I increase the number of evaluation points in geom_smooth for ggplot2 in R
- by Halpo
I'm creating a plot and adding a basic loess smooth line to it.
qplot(Age.GTS2004., X.d18O,data=deepsea, geom=c('point')) +
geom_smooth(method="loess",se=T,span=0.01, alpha=.5, fill='light blue',color='navy')
The problem is that the line is coming out really choppy. I need more evaluation point for the curve in certain areas. Is there a way to increase the number of evaluation points without having to reconstruct geom_smooth?