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 Course Website
Objects & Functions Course Website

Video

Title Link Mirror
2.0 - Welcome to Week 02 2.0 - YouTube 2.0 - ClassTranscribe
2.1 - Getting Started 2.1 - YouTube 2.1 - ClassTranscribe
2.2 - Objects & Functions 2.2 - YouTube 2.2 - ClassTranscribe
2.3 - Lab 01 2.3 - YouTube 2.3 - ClassTranscribe

Assignments

Assignment Deadline Credit
Lab 00 Friday, January 28 100%
Quiz 00 Friday, January 28 105%
Lab 01 Friday, February 4 100%
Quiz 01 Friday, February 4 105%

Office Hours

Staff and Link Day Time
Zoom with David Monday 3:00 PM - 4:00 PM
Zoom with David Thursday 5:00 PM - 7:00 PM
Zoom with Linjun Thursday 7:00 PM - 9:00 PM
Zoom with Earl Friday 10:00 AM - 12:00 PM
Zoom with Tyler Friday 12:00 PM - 2:00 PM
Zoom with Lia Friday 3:30 PM - 5:30 PM
Discussion Forum Any! Any!