Objects
4
Data Structures
Introduction to R Workshop
Welcome
Introduction
1
Setup
2
Basics
Objects
3
Data Types
4
Data Structures
5
Functions
Control Structures
6
If-Else Statements
7
Loops
Hands-On Exercises
Solutions
Next Steps
Table of contents
4.1
Objectives
4.2
Vectors
4.2.1
Subsetting
4.2.2
Factors
4.3
Data Frames
4.3.1
Loading and Saving
4.3.2
Subsetting and Combining
4.4
Matrices and Arrays
4.5
Lists
Edit this page
Report an issue
Objects
4
Data Structures
4
Data Structures
4.1
Objectives
Learn how to construct vectors, data frames, matrices, arrays, and lists
Learn how each data structure relates to the others
Know when to use which data structure
4.2
Vectors
4.2.1
Subsetting
4.2.2
Factors
4.3
Data Frames
4.3.1
Loading and Saving
4.3.2
Subsetting and Combining
4.4
Matrices and Arrays
4.5
Lists
3
Data Types
5
Functions