Group by and Summarise functions in R programming - use the tidyverse package to wrangle your data

Поделиться
HTML-код
  • Опубликовано: 2 окт 2024

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

  • @RProgramming101
    @RProgramming101  Год назад

    Get my FREE cheat sheets for R programming and statistics (including transcripts of these lessons) here: www.learnmore365.com/courses/rprogramming-resource-library

  • @enricopolazzo33
    @enricopolazzo33 Год назад +3

    Your videos helped me make the jump from SAS. Very liberating!

  • @kaelx1233
    @kaelx1233 2 месяца назад

    Thank you Greg, we love you ❤

  • @sarab2624
    @sarab2624 11 месяцев назад

    Thank you! This video was so helpful in explaining these functions.

  • @Claudia-kr9tu
    @Claudia-kr9tu Месяц назад

    Hello, could I calculate the p-value somehow, whether the differences in average total sleep or maximum total sleep are significant between those vore groups? And how is that done? Thank you

  • @mayurwabhitkar2041
    @mayurwabhitkar2041 7 месяцев назад

    i used this command results are different what is the problem View(mm)
    > msleep %>%
    + drop_na() %>%
    + group_by(vore) %>%
    + summarise(avgtotsleep= mean(sleep_total), maxremslepp=max(sleep_rem))
    # A tibble: 4 x 3
    vore avgtotsleep maxremslepp
    1 carni 13.3 3.2
    2 herbi 9.52 3.4
    3 insecti 14.0 3.9
    4 omni 12.2 4.9

  • @42marthacu
    @42marthacu Год назад +2

    I keep doing group_by and I keep getting just one average and its by column not group.

    • @arturotheburro
      @arturotheburro Год назад

      Hey, I was having the same problem, and then I re-started my computer, which made me re-install R, and now it works fine… I don’t know if this will work for you, but thought I’d let you know

    • @oscarsibanda9454
      @oscarsibanda9454 10 месяцев назад

      Same issue here. Did you manage to sort your issue out?

  • @glennhighcoveexploresstuff
    @glennhighcoveexploresstuff Год назад +3

    Always a favorite to watch, you make using R look easy and approachable.

  • @gianluca.pastorelli
    @gianluca.pastorelli Год назад +1

    Great video as always 👏 One important detail that I think it's worth stressing is that the summarise() function doesn't just create new column headings, but new actual variables that can be used for further calculations/operations. Looking forward to the next tutorial!

  • @MB-qr3oh
    @MB-qr3oh Год назад

    Hi, the video is very clear, thank you! I have a question about the function "summarise": ist it possible to insert a goodness of fit check? I would like to group my data and then for each group values values of a variable check if they are distributed according the normal (or weibull) distribution. Would it be possible with the function "summarise" or is there any other way to get it? Thank you in advance!

  • @Richard-p3b
    @Richard-p3b 4 месяца назад

    Jokes

  • @jigmetenzin7596
    @jigmetenzin7596 Год назад

    How do we rename the column name or add alias to it automatically in R?

  • @negusuworku2375
    @negusuworku2375 4 месяца назад

    Thank you. excellent. Very helpful.keep it up

  • @petercourtney7125
    @petercourtney7125 Год назад

    I've been using R for months and this video made me think I didn't need to ungroup() :,,,(

  • @AbdullahN8
    @AbdullahN8 Год назад

    Where can I find the video about missing values?
    Thanks a lot for this great channel ☺️

    • @hazema.6150
      @hazema.6150 Год назад

      Here you go brother,
      This one he focused fully on missing values
      ruclips.net/video/sUAMiAIUhcI/видео.html
      And this he mentioned it as one of the cleaning data tasks:
      ruclips.net/video/sV5lwAJ7vnQ/видео.html

    • @AbdullahN8
      @AbdullahN8 Год назад

      @@hazema.6150 Many thanks

  • @pumaman1504
    @pumaman1504 11 месяцев назад

    THANK YOU, my data looks amazing right now

  • @bishalkshetri3652
    @bishalkshetri3652 Год назад

    easy peasy lemon squeezy way of teaching

  • @Verba1Ninja
    @Verba1Ninja 11 месяцев назад

    How would you include std too?

  • @kaminari1096
    @kaminari1096 5 месяцев назад

    Thank you!

  • @abubakarbashir7951
    @abubakarbashir7951 Год назад

    Great video as usual, thank you.

  • @sofiamabrouk3376
    @sofiamabrouk3376 Год назад

    thank you!

  • @mugomuiruri2313
    @mugomuiruri2313 Год назад

    The analyst

  • @korman9872
    @korman9872 Год назад

    Tx sir

  • @josephkimote661
    @josephkimote661 Год назад

    Very helpful, happy following

  • @Sports_Encyclopedia
    @Sports_Encyclopedia Год назад +1

    the only thing I don't like about you is you make so less content kindly share at least 2-3 videos per week, your channel will also grow and you can do it as a full time high paying job