forked from k-glen/POP77001_Computer_Programming_2021
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path02_week.Rmd
More file actions
32 lines (24 loc) · 1.68 KB
/
02_week.Rmd
File metadata and controls
32 lines (24 loc) · 1.68 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# 2 R Basics
<div id="buttons">
<a class="btn btn-primary btn-lg" role="button" href="lectures/02_week.html">Lecture Slides (html)</a>
<a class="btn btn-info btn-lg" role="button" href="https://github.com/ASDS-TCD/POP77001_Computer_Programming_2022/blob/main/lectures/02_week.pdf">Lecture Slides (pdf)</a>
<a class="btn btn-secondary btn-lg" role="button" href="https://github.com/ASDS-TCD/POP77001_Computer_Programming_2022/blob/main/lectures/02_week.ipynb">Lecture Slides (ipynb)</a>
<br>
<br>
<a class="btn btn-success btn-lg" role="button" href="https://github.com/ASDS-TCD/POP77001_Computer_Programming_2022/blob/main/tutorials/02_week.ipynb">Tutorial Exercise (ipynb)</a>
<a class="btn btn-info btn-lg" role="button" href="https://github.com/ASDS-TCD/POP77001_Computer_Programming_2022/blob/main/tutorials/02_week.pdf">Tutorial Exercise (pdf)</a>
<a class="btn btn-secondary btn-lg" role="button" href="tutorials/02_week.html">Tutorial Exercise (html)</a>
</div>
---
This week we will discuss the fundamental concepts of programming, such as variables, as-
signment and object types with application to R. In addition, we will start using some built-in
functions.
## Required Readings
- Wickham. Chapters [2: Data Structures](http://adv-r.had.co.nz/Data-structures.html), [3: Subsetting](http://adv-r.had.co.nz/Subsetting.html), [4: Vocabulary](http://adv-r.had.co.nz/Vocabulary.html);
- Peng Chs 5: R Nuts and Bolts, 10: Subsetting R Objects, 11: Vectorized Operations;
## Additional Readings
- Matloff. Chs 2: Vectors, 3: Matrices & Arrays, 4: Lists, 5: Data Frames, 6: Factors & Tables;
## Tutorial
- R core data structures
- Subsetting and working with attributes
- Application of methods and functions