Attaching package: 'dplyr'
The following objects are masked from 'package:stats':
filter, lag
The following objects are masked from 'package:base':
intersect, setdiff, setequal, union
Loading required package: viridisLite
df <- gcookbook::heightweight
# Look at data
glimpse(df)
Rows: 236
Columns: 5
$ sex <fct> f, f, f, f, f, f, f, f, f, f, f, f, f, f, f, f, f, f, f, f, f…
$ ageYear <dbl> 11.92, 12.92, 12.75, 13.42, 15.92, 14.25, 15.42, 11.83, 13.33…
$ ageMonth <int> 143, 155, 153, 161, 191, 171, 185, 142, 160, 140, 139, 178, 1…
$ heightIn <dbl> 56.3, 62.3, 63.3, 59.0, 62.5, 62.5, 59.0, 56.5, 62.0, 53.8, 6…
$ weightLb <dbl> 85.0, 105.0, 108.0, 92.0, 112.5, 112.0, 104.0, 69.0, 94.5, 68…