-
Notifications
You must be signed in to change notification settings - Fork 49
/
02_week.Rmd
30 lines (22 loc) · 1.66 KB
/
02_week.Rmd
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
# 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, assignment and object types with application to R. In addition, we will start using some built-in functions.
## Required Readings
- Wickham Chs [2: Names and Values](https://adv-r.hadley.nz/names-values.html), [3: Vectors](https://adv-r.hadley.nz/vectors-chap.html), [4: Subsetting](https://adv-r.hadley.nz/subsetting.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.
- Using functions.