class: center, middle, inverse, title-slide # Introduction to R the Tidy Way ## Everything I did not have time to cover ### Mine Dogucu ### 2020-03-05 --- layout: true <!-- This file by Mine Dogucu is licensed under a Attribution-ShareAlike 2.5 Generic License (CC BY-SA 2.5) More information about the license can be found at https://creativecommons.org/licenses/by-sa/2.5/ --> <div class="my-header"></div> <div class="my-footer"> CC BY-SA <a href="https://mdogucu.ics.uci.edu">Mine Dogucu</a></div> --- class: center, middle ## License <img src="img/cc-sa.png" width="100%" /> More information can be found [here](https://creativecommons.org/licenses/by-sa/2.5/) --- One last useful function ```r sessionInfo() ``` ``` ## R version 3.6.1 (2019-07-05) ## Platform: x86_64-w64-mingw32/x64 (64-bit) ## Running under: Windows 10 x64 (build 18362) ## ## Matrix products: default ## ## locale: ## [1] LC_COLLATE=English_United States.1252 ## [2] LC_CTYPE=English_United States.1252 ## [3] LC_MONETARY=English_United States.1252 ## [4] LC_NUMERIC=C ## [5] LC_TIME=English_United States.1252 ## ## attached base packages: ## [1] stats graphics grDevices utils datasets methods base ## ## loaded via a namespace (and not attached): ## [1] compiler_3.6.1 magrittr_1.5 tools_3.6.1 htmltools_0.3.6 ## [5] xaringan_0.12 yaml_2.2.0 Rcpp_1.0.1 stringi_1.4.3 ## [9] rmarkdown_2.0 knitr_1.23 stringr_1.4.0 xfun_0.8 ## [13] digest_0.6.20 evaluate_0.14 ``` --- ## Data Science Cycle <img src="img/data-cycle.png" width="100%" /> .footnote[Image from Grolemund, G., & Wickham, H. (2018). R for data science (CC BY-NC-ND 3.0).] --- class: center, middle .strike[Everything I did not have time to cover] What I would teach if we had 8 more hours of this workshop --- class: center, middle .strike[Everything I did not have time to cover] .strike[What I would teach if we had 8 more hours of this workshop] All the cool things you can check out later in depth --- [gganimate](https://github.com/thomasp85/gganimate) for Animated ggplots [patchwork](https://github.com/thomasp85/patchwork) for displaying multiple ggplots [ggtext](https://github.com/wilkelab/ggtext) for adding text to ggplot [shiny](https://shiny.rstudio.com/gallery/) for web apps [xaringan](https://github.com/yihui/xaringan) for being a Presentation Ninja with .Rmd [stringr](stringr) for dealing with strings [rticles](rticles) for LaTeX journal article templates [naniar](https://github.com/njtierney/naniar) for summarizing missing data [kableExtra](https://cran.r-project.org/web/packages/kableExtra/vignettes/awesome_table_in_html.html) for beautiful HTML tables [blogdown](https://bookdown.org/yihui/blogdown/)for creating websites [github](https://happygitwithr.com/) for version control --- class: middle center In short, there is a package for everything. If there is not, then you can build your own package. --- ## After the Workshop - Join the conversation on Twitter with #rstats #tidyverse tags. It is a welcoming community. - Find your local R meetups on [meetup.com](https://www.meetup.com/topics/r-project-for-statistical-computing/). - Join [RStudio Community](https://community.rstudio.com/). - Try Out [Tidy Tuesday](https://github.com/rfordatascience/tidytuesday). - Join [R for Data Science Learning Community](https://www.rfordatasci.com/). - Use [RStudio resources](https://resources.rstudio.com/): webinars, conference talks etc. --- class: center middle Mine Dogucu [@MineDogucu](https://twitter.com/MineDogucu) [mdogucu@uci.edu](mailto:mdogucu@uci.edu) --- ## Schedule for the Day __08:45 - 09:00 Introduction__ __09:00 - 09:15 Getting to Know the Basics__ __09:15 - 10:15 Data Visualization__ __10:15 - 10:30 Break__ __10:30 - 12:00 Data Wrangling__ __12:00 - 01:00 Lunch__ __01:00 - 01:30 Working Locally With R__ __01:30 - 02:00 Dealing with Datasets__ __02:00 - 02:30 Case Study__ __02:30 - 02:45 Break__ __02:45 - 03:30 Modeling__ __03:30 - 04:00 Everything I did not have time to cover__