Introduction to R
Home
Setup
The Big Picture
Final Exercise
Ask a question
2) Basics
Data structures
Data Structures: Exercises
0) Before the workshop
Setup
1) Getting Started
Workflow
Workflow
Workflow: Exercises
Overview
The Big Picture
Data sets
2) Basics
Basics
Basic Operations
Tidyverse
Basic Operations: Exercises
Data structures
Data Structures
Data Structures: Exercises
Packages
Packages
Packages: Exercises
Loading data
Loading data
Loading data: Exercises
3) Data manipulation and transformation
Getting an overview
Getting an overview
Getting an Overview: Exercises
Subsetting
Subsetting
Subsetting data: Exercises
Missings
Missing values
Missing values: Exercises
Reshaping
Reshaping
Reshaping: Exercise
Merging
Merging data
Merging: Exercise
Functions
Functions
Functions: Exercises
Loops and Conditions
Loops and conditions
Loops: Exercises
4) Visualization
Plotting
Plotting: Exercises
5) Final Exercise
Final Exercise
6) Additional Resources
Additional Resources
Direkt Links to Cheat Sheets
Base R
Data Wrangling with tidyverse
Data visualization with ggplot2
On this page
Data structures
Edit this page
Data Structures: Exercises
Data structures
Examine this object:
obj
[[1]] [1] 3 5 1 [[2]] [1] "a"
What kind of data structure is
obj
?
Data frame
Vector
List
Matrix
Solution
Data frame
Vector
List
Matrix
And what types of vectors are included?
Numeric and character.
Character and logical.
Only numeric.
Only character.
Solution
Numeric and character.
Character and logical.
Only numeric.
Only character.
Data Structures
Packages