Prediction intervals for individual values in ggplot2

In

ggplot(mpg, aes(displ, hwy)) +
  geom_point() +
  geom_smooth()

the grey band is the confidence interval in the mean. Is there a way to plot instead the prediction interval for individual values.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.