Understanding group by (R Tidyverse)

Поделиться
HTML-код
  • Опубликовано: 11 сен 2024
  • Full curriculum at teachingr.com/
    How group by works with summarize, mutate, and filter.

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

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

    Wish I found this video 2 days ago; it solved 2 days’ worth of coding issues for me in the first 2 and a half minutes 😊 Thanks so much!

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

    Awesome, informative.
    It is a life saver. You are in my big 5 list of the finest R tutors. You could have spoiled us a little bit with the ungroup argument.

  • @saladprincesss
    @saladprincesss 3 года назад +2

    This is so helpful! I was stumped on the use of this in my project and this cleared everything up. Thank you so much!

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

    Thanks so much for explaining this, especially how R actually calculates. It makes so much more sense now. I can that if you use the group by function and summarize with mean, then the numbers are actually different than without the group by function. This is because the latter is summarizing by all data and not just one group. :) cool

  • @finnberuldsen4798
    @finnberuldsen4798 2 года назад

    I was trying to think about this for a while! This is a great and intuitive explanation!

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

    I really like the way you explain things and keep it simple.

  • @JD-ig7yx
    @JD-ig7yx Год назад

    Was so stumped!! Thank you!

  • @caseyosborne3148
    @caseyosborne3148 3 года назад

    You are good at what you do.

  • @robertmoncriefglockrock8957
    @robertmoncriefglockrock8957 2 года назад

    Thank you so much! I wish every video was this helpful 😭

  • @SGH-rt6ci
    @SGH-rt6ci 4 года назад

    Dear Ben, suppose you have a fourth columns with year when the test was taken by each indyvidual suppose 2017,2018,2019. How would you get the score and aggregate at the same time. My question is how to convert a single column with variables ( years) into as many columns as years ( 2017,2018,2019. : rows group by name Jen, Sarah, Ben......and columns are named 2017,2018,2019. It is feasable somehow ? Will be obliged for help. Thank you

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

    I wish u could reply my question, knowing this video is 5 years old.
    my question: how did you create the table directly on the input pane of the console.
    I am trying to create the table the traditional way by mentioning my variables. I input the variable "name" but found some names appear more than once

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

    best explanation! Thank you

  • @estellawwy4134
    @estellawwy4134 2 года назад

    save my assignment! thanks

  • @ThomasinaCadell
    @ThomasinaCadell 3 года назад

    This was such an amazing video, thank you so much for your help - literally saved my uni summative

  • @jaimeduncan6167
    @jaimeduncan6167 4 года назад

    Very good tutorial, Thanks for sharing!!! SUBSCRIBED!

  • @shivamshinde9904
    @shivamshinde9904 3 года назад

    thanks man !! was really helpful..

  • @onurdeniz6740
    @onurdeniz6740 3 года назад

    Quick&easy, thanks mate!

  • @muhammadharoon5460
    @muhammadharoon5460 4 года назад

    You're just amazing!!! Very clear explanation, thank youuuuu!!
    SUBSCRIBED!

  • @aamhanif
    @aamhanif 4 года назад +1

    Thank you so much! It was really helpful.

  • @diegocastanedafiestas1574
    @diegocastanedafiestas1574 3 года назад

    excellent way to teach this tank you so much!!

  • @кек6799
    @кек6799 3 года назад

    damn, man, make more videos
    thanks for your work

  • @frankjr3787
    @frankjr3787 4 года назад

    Hello, I am having a issue with the group_by function still. If I have 4 variables/columns .. say ( a b c d ) can I use the group by to only view column b and c?

  • @jababnamgay6366
    @jababnamgay6366 4 года назад

    how did you create the data?

  • @chrisber
    @chrisber 4 года назад

    Thanks heaps dude this video was really helpful, liked favourited and subbed.

  • @ryebreadie6877
    @ryebreadie6877 4 года назад

    is there a way to have a column saying how many rows of data are in each group?

    • @SC-xh8ju
      @SC-xh8ju 4 года назад

      summarize(n=n(), etc...) at the end of the pipeline should work

  • @rflilflower7127
    @rflilflower7127 4 года назад

    These are really helpful!!! Thank you!

  • @bharatsharma6536
    @bharatsharma6536 4 года назад

    Great content by you! Keep up it

  • @uttonio
    @uttonio 3 года назад +1

    I played this video at 1.25 speed and didn't get it.
    Then I played it at 0.75 speed and bamm, I understood what you said.

  • @goldensleeves
    @goldensleeves 3 года назад

    Very helpful, thanks!

  • @johannesmphaka7433
    @johannesmphaka7433 5 лет назад

    very easy to understand thanks.

  • @denispetinelli7161
    @denispetinelli7161 4 года назад

    Ben, you need to score more.
    Nice video, help me a lot.

  • @jameschen3414
    @jameschen3414 2 года назад

    this video should replace the R dplyr course on datacamp

  • @JuancharroVlogs
    @JuancharroVlogs 5 лет назад

    Thank you

  • @yt-1161
    @yt-1161 2 года назад

    good content terrible microphone