Closed
Description
I have previously used code similar to the example below to plot the average and confidence interval of some series. This still works with older versions, e.g. ggplot2 v2.2.1.
dat <- data.frame(x = rep(1:10, each = 12), y = rnorm(10 * 12))
library(ggplot2)
ggplot(dat, aes(x, y)) + stat_summary(fun.data = 'mean_sdl',
fun.args = list(mult = 1),
geom = 'smooth')
With ggplot2 v3.0.0 the above code only plots the average as blue line, but the gray area representing the confidence interval is not plotted at all.
Metadata
Metadata
Assignees
Labels
No labels