Introduction
Questions
Variation
ggplot(data = data) +
geom_bar(mapping = aes(x = sports))

data %>% count(sports)
## # A tibble: 38 × 2
## sports n
## <chr> <int>
## 1 All Track Combined 4870
## 2 Archery 1557
## 3 Badminton 1554
## 4 Baseball 8644
## 5 Basketball 10000
## 6 Beach Volleyball 1988
## 7 Bowling 2176
## 8 Diving 1530
## 9 Equestrian 1799
## 10 Fencing 1687
## # ℹ 28 more rows
Visualizing distributions
ggplot(data = data) +
geom_histogram(mapping = aes(x = rev_men))
## `stat_bin()` using `bins = 30`. Pick better value with `binwidth`.
## Warning: Removed 70462 rows containing non-finite values (`stat_bin()`).

ggplot(data = data, mapping = aes(x = rev_men, colour = sports)) +
geom_freqpoly()
## `stat_bin()` using `bins = 30`. Pick better value with `binwidth`.
## Warning: Removed 70462 rows containing non-finite values (`stat_bin()`).

Typical values
Unusual values
Missing Values
Covariation
A categorical and continuous variable
Two categorical variables
Two continous variables
Patterns and models