No video

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

  Рет қаралды 1,163

Albert Rapp

Albert Rapp

Күн бұрын

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 ай бұрын
Thanks a million for your value adding contents...
@rappa753
@rappa753 9 ай бұрын
You're welcome. Glad that you enjoy my content 😊
@Fraicheurlavande
@Fraicheurlavande 10 ай бұрын
Keep up the good work, I really enjoy your channel ;)
@rappa753
@rappa753 10 ай бұрын
Thank you, will do 😊
@onkar7651
@onkar7651 10 ай бұрын
awesome, Albert💌
@rappa753
@rappa753 10 ай бұрын
Glad that you enjoyed the video 😊
@christopherllones2898
@christopherllones2898 10 ай бұрын
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 😊
@JOHNSMITH-ve3rq
@JOHNSMITH-ve3rq 8 ай бұрын
Great content bro. Subbed.
@rappa753
@rappa753 8 ай бұрын
Thanks, John ☺
@user-od9uc6xd3b
@user-od9uc6xd3b 9 ай бұрын
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 ай бұрын
yo, thanks
@rappa753
@rappa753 9 ай бұрын
You're welcome ☺
@blaisepascal3905
@blaisepascal3905 10 ай бұрын
First!
@olearydj
@olearydj 9 ай бұрын
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 🤔
Stop making messy line charts and create meaningful plots instead
7:47
Use These Data Cleaning Helpers for R from the janitor package
17:15
Running With Bigger And Bigger Feastables
00:17
MrBeast
Рет қаралды 144 МЛН
WORLD'S SHORTEST WOMAN
00:58
Stokes Twins
Рет қаралды 202 МЛН
CHOCKY MILK.. 🤣 #shorts
00:20
Savage Vlogs
Рет қаралды 30 МЛН
Чёрная ДЫРА 🕳️ | WICSUR #shorts
00:49
Бискас
Рет қаралды 5 МЛН
Add any Plot to your {gt} table
15:40
R for the Rest of Us
Рет қаралды 3,6 М.
How to Create Upset Charts With {ggplot2} | Step-by-Step Tutorial
20:25
🚨 YOU'RE VISUALIZING YOUR DATA WRONG. And Here's Why...
17:11
Adam Finer - Learn BI Online
Рет қаралды 79 М.
How to Add Images to Your ggplot | Step-By-Step Tutorial
14:47
Albert Rapp
Рет қаралды 1,1 М.
Professional 3D Plotting in Matplotlib
17:24
NeuralNine
Рет қаралды 114 М.
Running With Bigger And Bigger Feastables
00:17
MrBeast
Рет қаралды 144 МЛН