How to Combine ggplots with {patchwork} | A Step-By-Step Tutorial

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

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

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

    🥳 If you want to get even better at ggplot and create insightful charts, then you can check out my video course arapp.thinkific.com/courses/insightful-data-visualizations-for-uncreative-r-users

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

    Keep up the good work, I really enjoy your channel ;)

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

      Thank you, will do 😊

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

    Big help for the tag. Before I usually put a title/subtitle in each plot before combining. Excited to use the tag option. Thanks for this, Albert!

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

      You're welcome. Glad that you found something valuable for your use cases 😊

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

    Thanks a million for your value adding contents...

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

      You're welcome. Glad that you enjoy my content 😊

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

    awesome, Albert💌

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

      Glad that you enjoyed the video 😊

  • @陈铭-w2d
    @陈铭-w2d ปีที่แล้ว +2

    Very helpful video for the layouts and arrangements of R plots! How the rug plots underneath the boxplots were created?

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

      Glad that you like it. As for your question, I just used geom_point() and set the shapes of the point to the string "|". This works but makes the symbols really small so you'll have to crank up that size.

    • @陈铭-w2d
      @陈铭-w2d ปีที่แล้ว

      Thank your very much for your kindly reply. This method seems to have appeared in your previous videos and it really have done a great favour to me.@@rappa753

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

    yo, thanks

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

      You're welcome ☺

  • @JOHNSMITH-ve3rq
    @JOHNSMITH-ve3rq ปีที่แล้ว +1

    Great content bro. Subbed.

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

      Thanks, John ☺

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

    Good stuff! I’ve found that patchwork objects tend to have a square shape. How can we work around that?

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

      I think when you use + without a layout, then patchwork tries to make things as square-y as possible. But with a layout (in which you also include white spaces) you should be able to make any shapes you want.

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

      Ahhh, that makes sense. I'll give it a shot. Thank you! This would be a good general topic for future videos - how to control the overall shape of graphs in Quarto, R Studio, etc. It would help me, anyway. Also, more about tables. Thanks for what you do.@@rappa753

  • @fotensolution6504
    @fotensolution6504 8 หลายเดือนก่อน

    Thanks but it does not work for me. The challenge is always the version of R. This does not work for all versions of R, so it is important to emphasize on the version of r so that people will not get confused if it does not work for them.

    • @rappa753
      @rappa753  8 หลายเดือนก่อน

      What R version are you using? I'm wondering because Patchwork has been around for a couple of years now so there should be a somewhat good backward compatibility 🤔

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

    First!