У нас вы можете посмотреть бесплатно Recreating a sentiment analysis visualization from the Pew Research Center in R with ggplot2 (CC351) или скачать в максимальном доступном качестве, видео которое было загружено на ютуб. Для загрузки выберите вариант из формы ниже:
Если кнопки скачивания не
загрузились
НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если возникают проблемы со скачиванием видео, пожалуйста напишите в поддержку по адресу внизу
страницы.
Спасибо за использование сервиса ClipSaver.ru
Pat uses R to show how to recreate a stacked bar plot positioned next to a bar plot that was posted by the Pew Research Center describing people's sense of how different groups will fare under the Trump Administration. To pull this off he uses the ggplot2, showtext, and ggtext packages. The functions he uses from these packages include abs, aes, annotate, as.character, case_when, coord_cartesian, element_blank, element_markdown, element_text, factor, font_add_google, function, geom_col, geom_crossbar, geom_text, geom_text, geom_vline, ggplot, ggsave, if_else, labs, library, margin, max, mutate, mutate, mutate, mutate, pivot_longer, rev, scale_fill_manual, select, select, showtext_auto, showtext_opts, theme, and tribble. The newsletter describing this visualization at a 30,000 ft view can be found at https://shop.riffomonas.org/posts/my-.... You can find the data he uses and the code he developed in this episode at https://www.riffomonas.org/code_club/.... You can find the original Pew Research Center article at https://www.pewresearch.org/short-rea.... If you have a figure that you would like to see me discuss in a future newsletter and episode of Code Club, email me at [email protected]! Want more practice on the concepts covered in Code Club? You can sign up for my weekly newsletter at https://shop.riffomonas.org/youtube to get practice problems, tips, and insights. If you're interested in purchasing a video workshop be sure to check out https://riffomonas.org/workshops/ Support Riffomonas by becoming a Patreon member! / riffomonas You can also find complete tutorials for learning R with the tidyverse using... Microbial ecology data: https://www.riffomonas.org/minimalR/ General data: https://www.riffomonas.org/generalR/ If you want to cite this video, please consider citing https://journals.asm.org/doi/10.1128/... 0:00 Introduction 7:23 Creating bar plots with the percentages overlaid 16:55 Ordering categories with gaps between groups 25:13 Adding and formatting annotation lines 30:56 Adding and formatting titles and caption 40:09 Adjusting size of bars and text 44:53 Adding column headings