Have you looked at the quantreg package? This is what powers the
stat_quantile. Unfortunately due to bugs in quantreg (which I have
reported to the maintainer but he has never responded) you can't use
the smoothed quantile estimation (qss) within stat_quantile, but you
should be able to run it yourself and then display the results with
geom_line.
Hadley
I'd start with rqss:
" Fitting function for additive quantile regression models with
possible univariate and/or bivariate nonparametric terms estimated
by total variation regularization."
Hadley