GiovineItalia / Gadfly.jl

Crafty statistical graphics for Julia.
http://gadflyjl.org/stable/
Other
1.9k stars 251 forks source link

Is there a way to see the shaded confidence region in Geom.smooth #519

Open ajkl opened 9 years ago

ajkl commented 9 years ago

ggplot2 has a way to show the shaded confidence area in geom_smooth

ggplot(dat, aes(x=xvar, y=yvar)) + geom_point(shape=1) +
geom_smooth(method=lm) # Add linear regression line (by default includes 95% confidence region)

image

Is there a way to show the shaded region in Geom.smooth ?

dcjones commented 9 years ago

Afraid not. There is a geometry to draw the shaded region (Geom.ribbon), but my loess implementation isn't 100% feature complete, and doesn't generate CIs as of yet.

ajkl commented 9 years ago

Thanks dcjones for the quick reply. I will look forward to the enhancement!