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 Course Website
Atomic Vectors Course Website
Coercion & Vectorization Course Website

Video

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

Assignments

Assignment Deadline Credit
Lab 01 Friday, February 4 100%
Quiz 01 Friday, February 4 105%
Lab 02 Friday, February 11 100%
Quiz 02 Friday, February 11 105%

Office Hours

Staff and Link Day Time
Zoom with David Monday 3:00 PM - 4:00 PM
Zoom with Tyler Thursday 2: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 Lia Friday 2:30 PM - 4:30 PM
Discussion Forum Any! Any!