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, September 8 100%
Quiz 01 Thursday, September 8 105%
Lab 02 Thursday, September 15 100%
Quiz 02 Thursday, September 15 105%

Office Hours

Staff and Link Day Time
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!