Checking date: 03/06/2021

Course: 2021/2022

Programming in R
Study: Master in Statistics for Data Science (345)

Coordinating teacher: DELGADO GOMEZ, DAVID

Department assigned to the subject: Department of Statistics

Type: Compulsory
ECTS Credits: 3.0 ECTS


The student will acquire the following knowledge: 1. Proficiency in the R programming language and the R-studio working environment. 2. Mastering the different types of data structures. 3. Exploratory data analysis techniques and presentation of results through data visualization techniques. 4. Familiarity with the main data analysis packages of R. 5. Be able to perform a simulation properly. 6. Accelerate the programs implemented by means of parallel programming. 7. Find errors and bottlenecks in their code and generate reports.
Skills and learning outcomes
Description of contents: programme
1. Basics of Programming I. The R-studio environment. Types of data (Arrays, Lists, Factors, Data Frames,...) and their operations. Control structures. Functions. 2. Basics of Programming II. Advanced data structures. Reading and storage of data. 3. Data visualization. The ggplot2 package. 4. Introduction to some useful packages in R. MASS, Caret, dplyr and data.table packages. 5. Simulations. 6. Parallel programming. 7. Debugging, Profiling and presentation of results with Rmarkdown.
Learning activities and methodology
The course will be taught in 7 practical classes in a computer room. The students will have collective tutoring sessions where they will be able to resolve their doubts regarding both the material explained in the classes and the practical assignments that will be evaluated.
Assessment System
  • % end-of-term-examination 50
  • % of continuous assessment (assigments, laboratory, practicals...) 50
Basic Bibliography
  • Fox, J.. Using the R Commander: A Point-and-click Interface for R. CRC Press.. 2016
  • Irizarry, R.A.. Introduction to data science: data analysis and prediction algorithms with R. Boca Raton, Florida. CRC Press. 2020
  • Wickham, H., & Grolemund, G. (2016). R for data science: import, tidy, transform, visualize, and model data. O'Reilly Media, Inc.. 2016
Recursos electrónicosElectronic Resources *
(*) Access to some electronic resources may be restricted to members of the university community and require validation through Campus Global. If you try to connect from outside of the University you will need to set up a VPN

The course syllabus may change due academic events or other reasons.