This is a survey course introducing basic consepts of programming using the R lanugague.
The following topics will be discussed:
- Introduction to R and RStudio
- Variables types
- Operations on variables
- Types of missing values (NA, NULL, NaN).
- Intro to functions and algorithms
- Flow control (if-else, loops, and vectoric operations)
- Recursion
- Run time complexity (big O notation)
- Algorithms for sorting and searching
- Lists, attributes, names
- Complex data structures (factor, matrix, data.frame)
- Aggregation methods (sapply, lapply, tapply, apply)
Extra reading materials
- Guide to Programming and Algorithms Using R -Springer -Verlag London (2013), Özgür Ergül (auth.)
- Introduction to Data Technologies - CRC Press Book - https://www.stat.auckland.ac.nz/~paul/ItDT/itdt-2010-11-01.pdf
- An Introduction to R - https://cran.r-project.org/doc/manuals/r-release/R-intro.pdf
- Cracking the coding interview - by Gayle Laakmann McDowell
- R for Data Science - http://r4ds.had.co.nz/