class: title-slide # Course overview ## Welcome and organization .center[<img src="img/00/logo_ryouready.png" width="150px"/>] ### Veronica Codoni, Roland Krause, Milena Zizovic | First steps with R | 6 Dec 2022 ---
# Good morning! .pull-left[ ### What you can do now: #### Check for material at the main site .huge[https://rintro.uni.lu/] #### Install R, RStudio and packages .Large[https://rintro.uni.lu/install_tutorial.html] ] .pull-right[ #### Check your install <img src="lecture00_intro_files/figure-html/unnamed-chunk-2-1.png" width="504" /> ] --- # Overview .flex[ .w-60.bg-washed-green.b--green.ba.bw2.br3.shadow-5.ph3.mr1[ .large[.bbox[Learning objectives ] This course provides an introduction to .bold[R] basics and `RStudio` in an interactive manner. This training prepares learners for working on projects in R with R Studio and provides essentials for performing more complex tasks such as those covered by `Data processing with R Tidyverse` and ` Statistical tests and statistical learning for omics data` courses. ]] .w-40.bg-washed-yellow.b--gold.ba.bw2.br3.shadow-5.ph3.mr1[ .large[.bbox[Content ] .float-img[] - R data structures - Basic transformations - Descriptive statistics - Basic plot capabilities The course workload ~ 20 hours (**1 ECTS**) is composed of: ] ] ] -- .flex.mt1[ .w-33.bg-washed-green.b--green.ba.bw2.br3.shadow-5.ph3.mr1[ .large[.gbox[Lectures] - Slides, formal lecture - Quick exercises inserted - Live demo ]] .w-33.bg-washed-blue.b--blue.ba.bw2.br3.shadow-5.ph3.mr1[ .large[.bbox[Practicals] - Detailed exercises - Solutions hidden/revealed - Questions at anytime [veronica.codoni@uni.lu](mailto:veronica.codoni@uni.lu) ]] .w-33.bg-washed-yellow.b--red.ba.bw2.br3.shadow-5.ph3.mr1[ .large[.rbox[1 ECTS] - Written and practical exercises, `R script` files - **All** documents allowed - Internet allowed ]]] --- ## Internet access allowed, watch out time ### why allowed .pull-left[ <blockquote class="twitter-tweet" data-lang="fr"><p lang="en" dir="ltr">Hello my name is Joby, I have a PhD in Physics and I work for NASA and I just had to look up the equation for the volume of a sphere</p>— Joby Hollis 🏳️ 🌈🇪🇺 (@Jobium) <a href="https://twitter.com/Jobium/status/1036670558539112448?ref_src=twsrc%5Etfw">3 septembre 2018</a></blockquote> <script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script> ] -- .pull-right[ .flex[ .w-50.bg-washed-red.b--red.ba.bw2.br3.shadow-5.ph3.mt3.ml5[ .large[.rbox[Downside!]] .center.bold[Time vanishes fast if you aren't prepared!] ] ] ] --- # Speaker & helpers .flex.justify-around[ .w-30.bg-washed-yellow.b--gold.ba.bw2.br3.shadow-5.ph3.mt1.mr1[ .large.center[.bbox[Veronica Codoni]
.left[ * Course design * Main instructor ]]] .w-30.bg-washed-blue.b--gold.ba.bw2.br3.shadow-5.ph3.mt1.mr1[ .large[.bbox[ Roland Krause ]
* Support ] ] .w-30.bg-washed-blue.b--gold.ba.bw2.br3.shadow-5.ph3.mt1.mr1[ .large[.bbox[Milena Zizovic] <img src="img/intro_milena-zizovic.jpg" width="150"> * Support ] ] ] --- # Time table .w-40.bg-washed-blue.b--blue.ba.bw2.br3.shadow-5.ph3.mt3.ml7[ .large[.bbox[Day 1 - 2 - 3 ]] Time | | ------|---------------------------------- 09:45 | `Set-up & questions` 10:00 | `Course work` - mix of lectures and exercises 13:00 | Expected `finish` ] --- # Let the journey into R begin! .center[] .pull-right[.footnote[Credit: Artwork by [Allison Horst](https://github.com/allisonhorst)]] --- # Demo live: Baby names over 137 years in US Data set was provided by the USA social security administration gathered information on baby names in _US_ for each year from 1880 to 2017. All names with more than 5 uses were included. (Source: http://www.ssa.gov/oact/babynames/limits.html) The data set is part of `babynames` R package, developed by [Hadley Wickham](https://github.com/hadley/babynames), and needs to be installed with `install.packages("babynames")` .pull-left[ ### Dataset ```r # Install the released version from CRAN install.packages("babynames") library(babynames) babynames ``` ~~~ # A tibble: 1,924,665 x 5 year sex name n prop <dbl> <chr> <chr> <int> <dbl> 1 1880 F Mary 7065 0.0724 2 1880 F Anna 2604 0.0267 3 1880 F Emma 2003 0.0205 4 1880 F Elizabeth 1939 0.0199 5 1880 F Minnie 1746 0.0179 6 1880 F Margaret 1578 0.0162 7 1880 F Ida 1472 0.0151 8 1880 F Alice 1414 0.0145 9 1880 F Bertha 1320 0.0135 10 1880 F Sarah 1288 0.0132 # … with 1,924,655 more rows ~~~ ] -- .pull-right[ ### Questions? .Large[ - Number of babies born per year - Evolution of **your** first name - Comparison of popularity between names over the years - ... ] .footnote[Install line must be commented out with a `#` to avoid running it at each knit compilation.] ]