Objects & Functions

Week 02, Fall 2023

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 5 100%
Quiz 00 Thursday, September 5 105%
Lab 01 Friday, September 13 100%
Quiz 01 Friday, September 13 105%

Office Hours

Update to office hours in Syllabus. Rajdeep’s Thursday office hours are moved to 12:30pm - 1:30pm