How to Plot Statistical Group Comparisons in R: ggstatsplot

Поділитися
Вставка
  • Опубліковано 9 січ 2025

КОМЕНТАРІ • 12

  • @Actanonverba01
    @Actanonverba01 3 роки тому +1

    Short and to the point demo. Great TY

  • @michal.tomczyk
    @michal.tomczyk 3 роки тому +2

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

    • @StatistikinDD
      @StatistikinDD  3 роки тому +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 3 роки тому +1

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

  • @albinonhabanga8066
    @albinonhabanga8066 6 місяців тому

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

    • @StatistikinDD
      @StatistikinDD  6 місяців тому

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

    • @albinonhabanga8066
      @albinonhabanga8066 6 місяців тому

      @@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 6 місяців тому

      @@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  6 місяців тому

      ​@@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  6 місяців тому

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