SSR4DS
Welcome
0.1
How to use this book
0.2
How to contribute to this book
1
Introduction
2
Introduction
3
Data visualisation
3.1
3.2 First steps
3.2.4 Exercises
3.6 Geometric objects
3.6.1 Exercises
4
Workflow: basics
5
Data transformation
5.1
5.2
5.2.1
5.2.2
5.2.3
5.2.4
Exercises
5.3
5.3.1
Exercises
5.4
5.5
5.6
5.6.1
5.6.2
5.6.3
5.6.4
5.6.5
5.6.6
5.6.7
Exercises
6
Workflow: scripts
6.3 Practice
7
Exploratory Data Analysis
7.1
Introduction
7.1.1
Prerequisites
7.2
Questions
7.3
Variation
7.3.4 Exercises
7.4
Missing values
7.4.1
Exercises
7.5
Covariation
7.5.1
A categorical and continuous variable
8
Workflow: projects
9
Introduction
10
Tibbles
10.1
10.1.1
10.2
Creating tibbles
10.3
10.3.1
Printing
10.3.2
Subsetting
10.4
10.5
Exercises
11
Data import
12
Tidy data
13
Relational data
14
Strings
15
Factors
16
Dates and times
17
Introductions
18
Pipes
19
Functions
20
Vectors
21
Iteration
22
Model Introduction
22.1
Hypothesis generation vs. hypothesis confirmation
23
Model Basics
23.1
Introduction
23.2
A simple model
23.2.1 Exercises
23.3
Visualising models
23.3.3 Exercises
23.4
Formulas and model families
23.4.5 Exercises
23.5
Missing values
23.6
Other model families
24
Model Building
24.1
Introduction
24.1.1
prerequisites
24.2
Why are low quality diamonds more expensive
24.2.1
Price and carat
24.2.2
A more complicated model
24.2.3 Exercises
24.3
What affects the number of daily flights
24.3.1
Day of week
24.3.2
Seasonal Saturday effect
24.3.3
Computed variables
24.3.4
Time of year: an alternative approach
24.3.5 Exercises
24.4
Learning more about models
25
Many models
25.1
Introduction
25.1.1
Prerequisites
25.2
gapminder
25.2.1
Nested data
25.2.2
Unnesting
25.2.3
Model quality
25.2.4
25.2.5 Exercises
25.3
List-columns
25.4
Creating list-columns
25.4.5 Exercises
25.5
Simplifying list-columns
25.5.1
List to vector
25.5.2
Unnest
25.5.3 Exercises
25.6
Making tidy data with broom
26
Introduction
27
R Markdown
28
Graphics for communication
29
R Markdown formats
30
R Markdown workflow
Published with bookdown
Selected Solutions to R4DS Exercises
Chapter 20
Vectors
Author:
Reviewer: