gather and spread functions from tidyr

Поделиться
HTML-код
  • Опубликовано: 22 авг 2024
  • I offer one on one tutoring in R programming and Statistics. If you need help, please contact me at RstatisticsCoding@gmail.com
    This video discusses how to convert a data set from wide to long or long to wide format using the spread and gather function from the tidyr package in r

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

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

    This is the best demonstration I've seen on this! The labels (e.g. name of dataset, column name to gather...) helped immensely. Thank you so much!

  • @ClairAnlage1
    @ClairAnlage1 5 лет назад +3

    Finally a good explanation ! Thank you!

  • @jonggyunchoi938
    @jonggyunchoi938 4 года назад +3

    0:17 gather() and spread() def
    1:06 spread() example
    2:30 gather() example

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

    Geez, it took forever for me to understand how to do this with the documentation. Thank you for your great explanation!

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

    Better explanation about it so far.

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

    I still come here from time to time to remember how to do this. Thank you!

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

    You are a life saver .. Thank you Sir a lot

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

    Very clear. Thank you

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

    Very clear and concise.

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

    simple and understandable example thank you

  • @marcelofraga4487
    @marcelofraga4487 5 лет назад +1

    Adam, you saved my day!

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

    Exelente video. Exactamente lo que yo necesitaba
    Muchas gracias

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

    awesome !!!

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

    what a compact !! nice :)

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

    thank you for this video you have saved my life jajaajj

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

    This isss great!!!! thanks a lot :)

  • @ramiromaravillaflores9314
    @ramiromaravillaflores9314 6 лет назад

    this is a really nice explanation. Thank u

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

    Thank u so much, You rocks !!!

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

    Thx, helped me a lot

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

    you are so good

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

    Hi Adam, amazing and great lecture! Tell me, what tool do you use to add that brackets with text?

  • @sumaashree4322
    @sumaashree4322 6 лет назад

    hi pls make more packages video and explain with relevant data table

  • @aditya-vikram-singh
    @aditya-vikram-singh 6 лет назад

    Thanks for this !!!

  • @himanshukeshri5974
    @himanshukeshri5974 6 лет назад

    Hi! i have a question. In mtcars data set in R i want to gather 8th, and 9th column i.e (vs,am). how can we do that?

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

    Is this equivalent to pivoting in excel?

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

    thanks buddy

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

    Error in .f(.x[[i]], ...) : object 'Totals' not found getting this error when I type this code df %>% gather(df, Category, Totals,22:40). Any idea why?

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

      @@nfljets37646 Thanks for the fast reply. It worked. How can write code to reference the sum of one of the values in my new column to see if this number matches my other values?

  • @rrrprogram8667
    @rrrprogram8667 6 лет назад

    Good one ... Is this channel about R language ?

  • @meenakshisrinivasan7789
    @meenakshisrinivasan7789 6 лет назад +1

    This always confuses me. Everytime -_- Thanks!