Creating bar plot with error bars using ggplot2's stat_summary in R (CC318)

Поділитися
Вставка
  • Опубліковано 29 лис 2024

КОМЕНТАРІ • 9

  • @zgl9764
    @zgl9764 3 дні тому

    Great video, I really enjoy watching you code!

    • @Riffomonas
      @Riffomonas  3 дні тому

      My pleasure - thanks for watching!

  • @lucasamoroso92
    @lucasamoroso92 4 дні тому

    Great video! I wish patterns within graphs were more natural to ggplot syntax, there are cases where they can be very useful (not in this case though haha)

    • @Riffomonas
      @Riffomonas  4 дні тому

      Thanks! Stay tuned for Wednesday's video 🤓

  • @ColinDdd
    @ColinDdd 3 дні тому

    the whole thing where error bars sometimes are standard error and sometimes standard deviation is so weird to me. what is the story with that!
    i ran into this trying to see what geom_errorbar(stat="summary") was doing, i think it is +/- one standard error, similar to what you saw with it defaulting to mean_se(). i guess sometimes good to see the underlying distribution vs the simple bar :)
    also pretty odd that you have to manually place the error bar, i wonder if there is a more natural way to get it to the right center position. but as always, great video!

    • @Riffomonas
      @Riffomonas  3 дні тому +1

      Thanks for watching! It seems everyone has a different opinion on SD/SE 🤣

  • @zgl9764
    @zgl9764 3 дні тому

    Great video, I really enjoy watching you code!