Objects & Functions
Week 02, Spring 2022
- Start: Monday, August 29
- End: Friday, September 2
Summary
This week, you will first get started by using R as a replacement for a scientific calculator. Then you will start to learn about two core concepts in R: objects and functions.
Learning Objectives
After completing this week, you are expected to be able to:
- Run R code interactively.
- Use keyboard shortcuts in RStudio.
- Perform basic mathematical calculations using R.
- Create objects in R.
- Assign objects a name.
- Write R functions.
- Use R functions.
Reading
| Link | Source |
|---|---|
| Getting Started | Atomic R |
| Objects & Functions | Atomic R |
Video
| Title | Link | Mirror |
|---|---|---|
| 2.1 - Welcome to Week 02 | 2.1 - YouTube | 2.1 - ClassTranscribe |
| 2.2 - Getting Started | 2.2 - YouTube | 2.2 - ClassTranscribe |
| 2.3 - Objects & Functions | 2.3 - YouTube | 2.3 - ClassTranscribe |
| 2.4 - Lab 01 | 2.4 - YouTube | 2.4 - ClassTranscribe |
Assignments
| Assignment | Deadline | Credit |
|---|---|---|
| Lab 00 | Thursday, September 1 | 100% |
| Quiz 00 | Thursday, September 1 | 105% |
| Lab 01 | Thursday, September 8 | 100% |
| Quiz 01 | Thursday, September 8 | 105% |
Office Hours
| Staff and Link | Day | Time |
|---|---|---|
| Zoom with Abdi | Monday | 4:00 PM - 6:00 PM |
| Zoom with David | Monday | 7:00 PM - 8:00 PM |
| Zoom with David | Tuesday | 7:00 PM - 8:00 PM |
| Zoom with Christina | Wednesday | 9:00 AM - 10:00 AM |
| Zoom with Zhiyuan | Wednesday | 2:30 PM - 4:30 PM |
| Zoom with David | Wednesday | 7:00 PM - 8:00 PM |
| Zoom with Jonas | Thursday | 6:00 PM - 8:00 PM |
| Discussion Forum | Any! | Any! |