Chapter 2 R Fundamentals
A Quick Note
In this course, we assume that students have a certain level of background knowledge of R. Please review fundamental concepts relating to the R language on your own. Important topics are covered in more detail in my other course, ENC2055.
In particular, we assume that students have working knowledge on the following topics covered in the Lecture Notes of ENC2055:
- Chapter 2: R Fundamentals
- Chapter 3: Code Format Convention
- Chapter 4: Subsetting
- Chapter 6: Data Manipulation
- Chapter 7: Data Import
- Chapter 8: String Manipulation
- Chapter 9: Conditions and Loops
- Chapter 10: Iterations
Please refer Winter (2020), Ch1-2 and Gries (2016), Ch3 for a comprehensive overview of R fundamentals (especially the parts on regular expressions).
References
Gries, S. T. (2016). Quantitative corpus linguistics with R: A practical introduction (2nd ed.). Routledge.
Winter, B. (2020). Statistics for linguists: An introduction using R. Routledge.