Density Plot in R with ggplot and geom_density()

แชร์
ฝัง
  • เผยแพร่เมื่อ 2 ก.พ. 2025

ความคิดเห็น • 25

  • @TheDataDigest
    @TheDataDigest  5 หลายเดือนก่อน

    If you want to download the R code from this video you can do this here in my free skool community:
    www.skool.com/data-analysis-with-r-6607/classroom/daa88316?md=7ced1d323a514f27b4aa64b78bf60f62

  • @DreamptLife
    @DreamptLife ปีที่แล้ว +2

    I love this video. Visually appealing charts, but the explanation is clear and concise. This is a perfect explanation and guide, thank you!

    • @TheDataDigest
      @TheDataDigest  ปีที่แล้ว

      And I love your comment. Really glad that it is so highly appreciated by you. I hope to make many more such videos and that they will find subscribers like you that will watch and enjoy them.

  • @AnseloSilver
    @AnseloSilver 10 หลายเดือนก่อน +1

    I like this tutorial, it has a good pace and explanation going along with the step. I have seen some tutorials going too fast.

    • @TheDataDigest
      @TheDataDigest  9 หลายเดือนก่อน

      Feedback like this is highly appreciative. Thanks for leaving a comment. I do cut out all unnecessary speech so my videos are actually quite fast. But I want to show a lot and one can always rewind and watch again.

  • @suying-meow
    @suying-meow 11 หลายเดือนก่อน +2

    Thanks for your tutorial, it will be better if you can add more details about what each code means.

    • @TheDataDigest
      @TheDataDigest  5 หลายเดือนก่อน

      I understand. I did not want to make these video too long. But you can always reach out if something is unclear or you need help with any steps in your data analysis.

  • @m3ick
    @m3ick 3 ปีที่แล้ว +1

    Your tutorial is very informativ. Keep up the good work!

  • @chikuniepraise3481
    @chikuniepraise3481 2 ปีที่แล้ว +1

    I loved the tutorial. Thank you so much

    • @TheDataDigest
      @TheDataDigest  2 ปีที่แล้ว

      Thank you for this nice comment :)

  • @bhargavapothakamuri4218
    @bhargavapothakamuri4218 3 ปีที่แล้ว +1

    Dude this is awesome !!

    • @TheDataDigest
      @TheDataDigest  3 ปีที่แล้ว

      Thank you very much. I will soon upload a new video about the geom_ridgeline() function that combines density plots in a different way.

  • @portillanath
    @portillanath 3 ปีที่แล้ว +1

    Thanks a LOT!

    • @TheDataDigest
      @TheDataDigest  3 ปีที่แล้ว +1

      Thanks for subscribing. Next video will come out this weekend.

  • @dra.thaisdinizreis
    @dra.thaisdinizreis 3 ปีที่แล้ว +1

    thank you!

  • @DomenicaJosefina
    @DomenicaJosefina 9 หลายเดือนก่อน +1

    Could you tell the names of all the libraries you use? :)

    • @TheDataDigest
      @TheDataDigest  9 หลายเดือนก่อน

      I think in this video I only used ggplot2 library. It is part of the tidyverse package, which also includes dplyr. I also often use forcats (to work with factors), lubridate (to work with dates), and stringr (to manipulate strings).
      I also saw this tweet today about using ggdist package for distribution plots (twitter.com/MatthewBJane/status/1780952366541385910).
      Hope that helps :)

  • @khando
    @khando 2 ปีที่แล้ว

    If you were to add lower and upper bounds as shade to the density plot (density on the y axis) as ribbon, how would you do it? I am asking this because I am stuck with a similar problem for myself

  • @keylavitoria2588
    @keylavitoria2588 2 ปีที่แล้ว +1

    Obrigada!! Vou tentar fazer !!

    • @TheDataDigest
      @TheDataDigest  2 ปีที่แล้ว

      Eu te desejo sucesso! Obrigado pelo comentário. [Google translate]

  • @suheylaaydemir8728
    @suheylaaydemir8728 ปีที่แล้ว

    thank you for the great explanation & the background music is distracting

  • @bhargavapothakamuri4218
    @bhargavapothakamuri4218 2 ปีที่แล้ว

    0:12

  • @bhargavapothakamuri4218
    @bhargavapothakamuri4218 3 ปีที่แล้ว +1

    Thanks bro !
    Can you gimme your email, I have a question regarding gather and spread. And also Transpose function (curiously the transpose function is changing DF to a Double type)

    • @TheDataDigest
      @TheDataDigest  3 ปีที่แล้ว

      Hi Bhargave, I recommend to go to "stackoverflow" and post your questions there. If you give a reproducible example you will get solutions and answers within a few days by competent users. Maybe I even see your question there and can answer it. Thanks for watching my videos.