Programming in R and Shiny
Martin Losert, Katharina Naumann, Florian Wickelmaier
R is a widely used programming language for data analysis and statistical computing. This course will recapitulate basic data structures and programming concepts in R and focus on applications of statistical modeling and simulation-based inference. Participants will learn how to use R for parameter estimation, hypothesis testing, and power analysis.
Shiny is an add-on package for R that makes it easy to create interactive web pages. Participants will learn how to program their own Shiny app in R, to customize its appearance, and to control how it reacts to user input.
- R, follow the instructions on the R web page, https://www.r-project.org/
- Shiny, type into the R console: install.packages(“shiny”)
- RStudio (optional), follow the instructions at the RStudio web page, https://www.rstudio.com/products/rstudio/
- Dalgaard, P. (2008). Introductory Statistics with R, 2nd edition. Springer. ISBN 978-0-387-79053-4, http://staff.pubhealth.ku.dk/~pd/ISwR.html
- Wickham, H. (2014). Advanced R. Chapman & Hall/CRC. http://adv-r.had.co.nz/
- Shiny Tutorial, https://shiny.rstudio.com/tutorial/