DTS 211
Introduction to R Programming
3
Course Description
At the end of the course, the students should be able to:
1. utilise the R programming language for data-driven functions and utilities that have
been lauded across the computing industry;
2. explain the structures, functions, and operations that power the utilities of this
Language across various application domains;
3. explain the structures, functions, and operations of the language; and
4. apply the R programming language to various data-driven use-cases in practical
problem domains in the real-world.
Course Outline
History and Overview of R, Installation, Introduction to R and RStudio, R interface, Cleaning
and transforming data, Getting data in and out of R, Evaluation, R Objects, Numbers,
Attributes, Vectors, Matrices/Arrays, Lists, Factors, Missing Values, Data Types, Structures and
Frames, Names, , Displaying and plotting data, Reading lines of a Text File, Reading from a
URL connection, Vectorised Operations, Dates and Times, Control Structures, Functions,
Scoping Rules, Coding Standard for R, Looping, Debugging, Profiling R Code. Creating data
products using R package.
Lab work: Installation of R programming language and learning the practical basics. Practical
programming exercises on R programming language in getting data in and out, evaluation,
computation, finding missing values and reading lines of text files. Practical exercises on R
coding and debugging.