Use xseqin a call stat_smoothas follows:
stat_smooth(xseq = seq(30,70, length=80))
@Hadley: Why xseqand nhow are capitalization options not listed in ?geom_smooth? See here the source code: https://github.com/hadley/ggplot2/blob/master/R/stat-smooth.r
: ( ?geom_smooth)
ggplot(mtcars, aes(qsec, wt)) +
geom_point() +
xlim(c(10,30)) +
stat_smooth(method=lm, fullrange = TRUE, xseq = seq(11,25, length=80))
:
