MISSION 333

Working With Vectors

Learn how to index, manipulate, and perform calculations on vectors, important data structures in R

Objectives

  • Learn about vectors, foundational data structures in R.
  • Index vectors to extract specific elements.
  • Apply functions to vectors to perform calculations.

Mission Outline

1. Indexing Vectors by Position
2. Numeric and Character Data Types
3. Naming Elements of a Vector
4. Indexing Vectors Using Names
5. Comparing Values And Logical Data Types
6. Comparing Single Values Against Vectors
7. Logical Indexing
8. Performing Arithmetic with Vectors
9. Vector Recycling
10. Appending Elements To A Vector
11. Next Steps
12. Takeaways

intro-to-r

Course Info:

Beginner

The median completion time for this course is 6.2 hours. View Details

This course is free. This course includes five missions and one installation tutorial. This course is the first course in the Data Analyst in R path.

START LEARNING FREE

Take a Look Inside