rstudio / learnr

Interactive Tutorials with R Markdown
https://pkgs.rstudio.com/learnr
Apache License 2.0
705 stars 236 forks source link

Problem is showing confidence intervals using stat_summary and ggplot #753

Open asorribas opened 1 year ago

asorribas commented 1 year ago

I'm using the following code in learnr:

ggplot(PlantGrowth,aes(group,weight,color=group))+
  stat_summary(fun.data=mean_cl_normal,size=1)

It works ok BUT when I upload the learnr document to an account in shinyapps.io the generated app doesn't show the plot with the confidence interval (in fact only the axes are shown)

All the other computations work fine (tables, ANOVA, etc...) Any suggestion?