How to Plot Statistical Group Comparisons in R: ggstatsplot

Поделиться
HTML-код
  • Опубликовано: 21 авг 2024
  • A lot of time can be spent on polishing plots for presentations and publications. Standard plots on group comparisons don't contain statistical information. Enter ggstatsplot by Indrajeet Patil: It offers convenience functions to create information-rich plots from very little effort.
    Contact me, e. g. to discuss (online) R workshops / trainings / webinars:
    LinkedIn: / wolfriepl
    Twitter: / statistikindd
    Xing: www.xing.com/p...
    Facebook: / statistikdresden
    statistik-dres...
    R Workshops: statistik-dres...
    Blog (German, translate option): statistik-dres...
    Playlist: Music chart history
    • Music Chart History

Комментарии • 12

  • @Actanonverba01
    @Actanonverba01 2 года назад +1

    Short and to the point demo. Great TY

  • @michal.tomczyk
    @michal.tomczyk 2 года назад +2

    To use the pipe operator I need to install and load the 'dplyr' package, don't I?

    • @StatistikinDD
      @StatistikinDD  2 года назад +1

      Yes. Sorry, I didn't show all of the code. You can do library(dplyr) or library(tidyverse). Or use the new Base R pipe operator |> instead, which comes without package dependencies (R >= 4.1.0 required).

    • @michal.tomczyk
      @michal.tomczyk 2 года назад +1

      @@StatistikinDD no worries, thank you! Appropriate your work!

  • @albinonhabanga8066
    @albinonhabanga8066 Месяц назад

    I always get sane issue
    package ggstatsplot was built under R version 4.3.3
    Doesn't work

    • @StatistikinDD
      @StatistikinDD  Месяц назад

      You could try to get it from GitHub.
      Do you have the latest R Version installed?

    • @albinonhabanga8066
      @albinonhabanga8066 Месяц назад

      @@StatistikinDD no. I think
      Now a have R version 4.3.2
      I would like to update, do I need to Remove old version or I can try it:
      install.packages ("installr")
      library(installr)
      updateR()

    • @albinonhabanga8066
      @albinonhabanga8066 Месяц назад

      @@StatistikinDD after that
      I Would like to Join two columns become unique column in a dataframe.
      So the new column might be character and have two categories corresponding to the old two columns names.
      While the old two columns had number of test observed and another the number of tests expected in the same health facility. These numbers is grouped in week (15 weeks).
      I want to keep this new column and another new column that have number of tests, and another the week identifications (1,2,3...15)
      If you have some video about basic r skills with dataframe manipulation, please suggest me

    • @StatistikinDD
      @StatistikinDD  Месяц назад

      ​@@albinonhabanga8066 Yes, installr is a good option. However, going over the 4.4 threshold you might need to re-install your packages. No need to remove the old R version.

    • @StatistikinDD
      @StatistikinDD  Месяц назад

      ​@@albinonhabanga8066 Other channels offer more on data manipulation, e. g. Statistics Globe (Joachim Schork). We have collaborated in the past.