Тёмный

Creating multipart figures with facets: ggplot2's facet_wrap and facet_grid (CC039) 

Riffomonas Project
Подписаться 22 тыс.
Просмотров 2,7 тыс.
50% 1

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

 

13 окт 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 10   
@omerfarukcetiner6473
@omerfarukcetiner6473 2 года назад
As a medical student interested in bioinformatics, I entertainingly learn many things thanks to your videos. Thank you, Professor.
@Riffomonas
@Riffomonas 2 года назад
Thanks for watching Ömer!
@3156492
@3156492 3 года назад
Plese, keep making more videos like this. I see you are a good teacher.
@Riffomonas
@Riffomonas 3 года назад
Ahh, you're too kind - thanks!
@iarasouza8029
@iarasouza8029 4 года назад
These videos literally summarised my google and stackoverflow searches while I was learning R. Nice initiative!
@Riffomonas
@Riffomonas 4 года назад
Wonderful - I'm glad you're finding them useful!
@adriannaturner3972
@adriannaturner3972 4 года назад
Is there a function for renaming the x-axis points? Or putting in more space in between the 2 facets? I noticed the x-axis points (1-1000) are overlapping with the next graph a little.
@Riffomonas
@Riffomonas 4 года назад
Thanks for the question, Adrianna! These things can be manipulated with the theme function. I did an episode a while back on themes (ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-CHApFmFoP_o.html) that you might want to check out. To put space between the facets, you can use theme(panel.spacing.x=units(1, "cm")) - see ?units for the different ways you can specify the amount of space. To make the x-axis labels smaller, you could do theme(axis.text.x=element_text(size=6)) - see ?element_text for the arguments you can give that function. I didn't go into this here, because when the plot was finally rendered in the markdown document, the spacing worked itself out.
@ambhat3953
@ambhat3953 3 года назад
You look like poor man's Ryan Reynolds. No offense!
@Riffomonas
@Riffomonas 3 года назад
HAH! Thanks for watching :)
Далее
这到底是怎么做到的 #路飞#海贼王
00:10
Просмотров 4,1 млн
Как улучшить шоколадку Милка?
00:35
Describe and Summarise your data
19:44
Просмотров 55 тыс.