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

Поділитися
Вставка
  • Опубліковано 10 гру 2024

КОМЕНТАРІ • 15

  • @mo-soliman
    @mo-soliman 6 місяців тому

    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  6 місяців тому +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 Рік тому +1

    This video was beyond helpful.
    Thank you

  • @makk3480
    @makk3480 2 роки тому +1

    Best tutorial soo far

  • @DonyCaspion
    @DonyCaspion 2 роки тому +1

    this was exactly what I needed, thanks :)

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

    This was very helpful, thank you!

  • @romanvasiura6705
    @romanvasiura6705 Рік тому

    Thank you!

  • @mugomuiruri2313
    @mugomuiruri2313 Рік тому

    Good

  • @yakunats
    @yakunats 2 роки тому

    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  2 роки тому

      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:
      ua-cam.com/video/8WZXn7e20YA/v-deo.html

  • @玩物喪志-v5w
    @玩物喪志-v5w 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 2 роки тому +3

      also your supposed to write summarise or summarize, not summaries