Atomic Vectors

Week 03, Spring 2022

Summary

This week we will investigate the most important object in R, vectors. In particular, we will look at atomic vectors.

Learning Objectives

After completing this week, you are expected to be able to:

  • Determine an object’s type.
  • Create vectors of a particular type.
  • Determine the length of a vector.
  • Use a vector’s index to extract a single element.
  • Use and understand type and length coercion.
  • Use vectorized operations.
  • Use and understand missing values.

Reading

Link Source
Objects & Functions Atomic R
Atomic Vectors Atomic R
Coercion Atomic R

Video

Title Link Mirror
3.1 - Welcome to Week 03 3.1 - YouTube 3.1 - ClassTranscribe
3.2 - Atomic Vectors: Type and Length 3.2 - YouTube 3.2 - ClassTranscribe
3.3 - Atomic Vectors: Coercion and Vectorization 3.3 - YouTube 3.3 - ClassTranscribe
3.4 - Lab 02 3.4 - YouTube 3.4 - ClassTranscribe

Assignments

Assignment Deadline Credit
Lab 01 Thursday, February 2 100%
Quiz 01 Thursday, February 2 105%
Lab 02 Thursday, February 9 100%
Quiz 02 Thursday, February 9 105%

Office Hours

Staff and Link Day Time
Zoom with Abdi Tuesday 4:00 PM - 5:00 PM
Zoom with Mallory Wednesday 9:00 AM - 10:00 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!