Chapter 1 Introduction to R

This is an introduction to R and Latex. In compiling this documents, several sources have been consulted, including Jared P. Lander's R for Everyone, Hadley Wickham and Garrett Grolemund's R for Data Science, Dr. Yuleng Zeng's website, Dr. Timothy M. Peterson’s website, Havard’s Math Prefresher, the course offered by DataCamp. Chapter 3 and Chapter 4 are mostly borrowed from Dr. Yuleng Zeng's website resources.

Install the following applications:

  1. R: https://cloud.r-project.org/
  2. RStudio: https://www.rstudio.com/products/rstudio/download/#download.
    • Install the RStudio Desktop Open Source License
    • RStudio is a graphical user interface (GUI) for making the life of using R easier.
  3. Latex:

Finally, this document is to be used in-class only. As I (will) mention several times, it borrows and merges a lot of resources online. Also, if you see any mistakes or have suggestions, please do shoot me an email.