Тёмный

How to create Multi-Panel plots in R with facet_wrap() and facet_grid() 

The Data Digest
Подписаться 4,7 тыс.
Просмотров 5 тыс.
50% 1

Опубликовано:

 

20 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 15   
@TheDataDigest
@TheDataDigest Месяц назад
You can download the R code from this video here in my free skool community: www.skool.com/data-analysis-with-r-6607/classroom/daa88316?md=fafca7ecf1984ef78c9eda2c945fc07c
Год назад
Great in-depth video, excellent content.
@TheDataDigest
@TheDataDigest Год назад
Thanks for watching, liking and commenting :) I wanted to include as much as possible without being to long or boring. Next video will be about pie charts.
@ignaciosanchez1983
@ignaciosanchez1983 Год назад
Great video! Keep going
@icefunkdark8555
@icefunkdark8555 Год назад
This video is so useful. Thank you so much for sharing :) Appreciate the content and time.
@TheDataDigest
@TheDataDigest Год назад
And thank you for taking the time to leave such a nice comment. It is really motivating for me, to see that other people find my content useful :)
@greenone9951
@greenone9951 Год назад
scale_x_reordered function seems useful
@GaboMoya
@GaboMoya Год назад
I have a question. How do u change the order of the desplay. The factet grid follows alphabetical order. But i need and special order. For example the order in min 7:09 its Africa, Americas, Asia, Europe. But what if u want Europe first?
@TheDataDigest
@TheDataDigest Год назад
You have to use the factor() function and provide a new order of the levels. For example like this: gapminder$continent2
@TheDataDigest
@TheDataDigest Год назад
Just for transparency: I orginally used "labels" but it has to be "levels" otherwise the Africa data just got re-labeld with Europe instead of ordering the levels new.
@TheDataDigest
@TheDataDigest Год назад
I have a dedicated video about reordering factors: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-ChhJUN1JDLI.html
@91lovemusic
@91lovemusic 4 месяца назад
14:19 i still fail doing that chart 😅
@TheDataDigest
@TheDataDigest 3 месяца назад
What error message are you getting? Did you load the tidytext package to have the reorder_within() function available?
@Zoyfad
@Zoyfad Год назад
thanks for the video:) btw dplyr::slice_ functions are nice diamonds %>% slice_sample(n = 5000)
@TheDataDigest
@TheDataDigest Год назад
Thanks for the feedback. Really great to have someone that posts some extra useful functions. I knew the slice() function and remember now using it in the past after arrange to only select the top 3 of something. But wasn't aware that there is slice_sample(). So thanks again :)
Далее
How to Create Pie Charts in R (6 easy ways)
19:13
Просмотров 7 тыс.
Advanced ggplot  - using facets
7:37
Просмотров 9 тыс.
Fake Referee Whistle Moments 😅
00:38
Просмотров 4,2 млн
Bar Charts with {ggplot2}
13:38
Просмотров 6 тыс.
Faceting your data in ggplot
10:35
Просмотров 56
Add any Plot to your {gt} table
15:40
Просмотров 4,1 тыс.
Create maps using the sf package in R programming
9:29
Analyzing Monkeypox Cases in R for Beginners
28:13
Просмотров 1,5 тыс.
Fake Referee Whistle Moments 😅
00:38
Просмотров 4,2 млн