take this example :
ggplot(iris,aes(Sepal.Width,Sepal.Length)) + geom_smooth()
How do I get the x and y that were used to plot this blue curve ?
This case will be computed by loess automatically, my real case is computed by gam automatically.
I tried :
- reproducing it with gamfunction
- exploring the plot object
And didn't have success with any
 
    