How to Combine ggplots | A Step-By-Step Tutorial

Поделиться
HTML-код
  • Опубликовано: 21 авг 2024
  • The {patchwork} package is an incredibly powerful tool to combine multiple plots into a single image. In this tutorial, I show you some of the amazing tricks that this package can pull off.
    MORE VIDEOS
    📺 Rebuild this COMPLEX Data Visualization with R • Rebuild this COMPLEX D...
    📺 A DEAD-SIMPLE STRATEGY to style your Quarto docs without knowing HTML & CSS • How to style your Quar...
    📺 Fast explainer playlist • Explainer videos
    SUPPORT THIS CHANNEL
    Sponsor a coffee and help me create better videos at www.buymeacoff...
    Subscribe at 👉 / @rappa753
    MORE CONTENT
    - weekly 3-minute newsletter about R, DataViz and webdev at 3mw.albert-rap...
    - LinkedIn account at / albert-rapp-9a5b9b28b
    #rstats #datavisualization #ggplot2

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

  • @rappa753
    @rappa753  8 месяцев назад

    🥳 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

  • @Adeyeye_seyison
    @Adeyeye_seyison 9 месяцев назад +1

    Thanks a million for your value adding contents...

    • @rappa753
      @rappa753  9 месяцев назад

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

  • @christopherllones2898
    @christopherllones2898 9 месяцев назад +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  9 месяцев назад

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

  • @onkar7651
    @onkar7651 9 месяцев назад +2

    awesome, Albert💌

    • @rappa753
      @rappa753  9 месяцев назад

      Glad that you enjoyed the video 😊

  • @Fraicheurlavande
    @Fraicheurlavande 9 месяцев назад +3

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

    • @rappa753
      @rappa753  9 месяцев назад

      Thank you, will do 😊

  • @JOHNSMITH-ve3rq
    @JOHNSMITH-ve3rq 8 месяцев назад +1

    Great content bro. Subbed.

    • @rappa753
      @rappa753  8 месяцев назад

      Thanks, John ☺

  • @user-od9uc6xd3b
    @user-od9uc6xd3b 9 месяцев назад +2

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

    • @rappa753
      @rappa753  9 месяцев назад

      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.

    • @user-od9uc6xd3b
      @user-od9uc6xd3b 9 месяцев назад

      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 9 месяцев назад +1

    yo, thanks

    • @rappa753
      @rappa753  9 месяцев назад

      You're welcome ☺

  • @blaisepascal3905
    @blaisepascal3905 9 месяцев назад +1

    First!

  • @olearydj
    @olearydj 9 месяцев назад +1

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

    • @rappa753
      @rappa753  9 месяцев назад

      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 9 месяцев назад

      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 2 месяца назад

    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  2 месяца назад

      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 🤔