Objects & Functions

Week 02, Spring 2022

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, January 26 100%
Quiz 00 Thursday, January 26 105%
Lab 01 Thursday, February 2 100%
Quiz 01 Thursday, February 2 105%

Office Hours

Staff and Link Day Time
Zoom with Abdi Tuesday 4:00 PM - 5:00 PM
Zoom with Mallory Wednesday 10:30 AM - 11:30 AM
Zoom with Zhiyuan Wednesday 4:00 PM - 5:00 PM
Zoom with Dave Wednesday 5:00 PM - 7:00 PM
Zoom with Mallory Thursday 1:15 PM - 2:15 PM
Zoom with Abdi Thursday 3:00 PM - 4:00 PM
Zoom with Zhiyuan Thursday 4:00 PM - 5:00 PM
Discussion Forum Any! Any!