Data Wrangling In R with group_by() and summarise()

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

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

  • @mo-soliman
    @mo-soliman 3 месяца назад

    I can't believe that I'm saying this. But now I kinda love R!!
    I used to HATE R with every bit of my soul, that's largely because it's substantially different from other programming languages I'm used to (most importantly Python, I've always been team Python). But now, I know why R is pretty handy at times, not only for those who are unfamiliar with programming languages and only want to get the job done with simple code, but also for professionals who are tired of specifying every single little thing in their code/graph/...
    Thank you professor Andrew! I don't know if you realize it, but you do have a very unique way of illustrating concepts, and your approach on explaining the philosophy behind why R was designed the way it's designed really makes a huge difference. I'm really grateful to have found your videos, and I can't wait to finish this playlist (it's statistical programming with R btw)
    Speaking of playlists, why don't you collect your half-hour videos (the ones that you collect multiple concepts/functions) in R in one playlist so that you can deliver the highest value in the least number of videos with minimal repetition? I think that would be a good idea. I'm talking about videos like 'Learn R in 39 minutes', 'Data Wrangling in R in 27 minutes', 'Data Visualization with R in 36 minutes'.
    I wish you the best of luck!

    • @EquitableEquations
      @EquitableEquations  3 месяца назад +1

      Thanks! I love Python too and use it when it's the better tool for the job (which it sometimes is).
      I'm actually considering how to restructure my playlists now. Thanks for the input!

  • @piersonlinde3524
    @piersonlinde3524 10 месяцев назад +1

    This video was beyond helpful.
    Thank you

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

    Best tutorial soo far

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

    Good

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

    this was exactly what I needed, thanks :)

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

    This was very helpful, thank you!

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

    Thank you!

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

    Thanks for this super helpful lesson. Do you have a general process you go through when doing data wrangling/cleaning? It's hard to find forums or vids that address this particular question.

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

      Hi! It depends so much on the question you're trying to answer. I've found Tidy Data to be a very helpful organizing principle:
      ruclips.net/video/8WZXn7e20YA/видео.html

  • @user-mf1cu3tn7s
    @user-mf1cu3tn7s 2 года назад

    I find that R seems to struggle to read in a column header with a space. For example I have no problem getting R to read in the column Carat but if I want R to take in column Carat UK then it doesn't seem to work. I have in my script Diamond %>% group_by(cut) %>% summaries(sum(carat), sum(carat UK)) and the final bit failed. it worked with the first bit though...

    • @EquitableEquations
      @EquitableEquations  2 года назад +4

      Hi! You need to enclose non-syntactic variable names in ticks, for instance `carat UK`. RStudio will suggest this automatically.

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

      also your supposed to write summarise or summarize, not summaries