Lecture 7
Cornell University
INFO 3312/5312 - Spring 2024
February 13, 2024
We…
have a single data frame
want to slice it, and dice it, and juice it, and process it, so we can plot it
Which of the following (if any) are unfamiliar to you?
distinct()
select()
, relocate()
arrange()
, arrange(desc())
slice()
, slice_head()
, slice_tail()
, slice_sample()
filter()
mutate()
summarize()
, count()
Which of the following (if any) are unfamiliar to you?
pivot_longer()
, pivot_wider()
separate_wider_delim()
, separate_wider_position()
, unite()
unnest_longer()
, unnest_wider()
, unnest_auto()
Let’s recreate this visualization and make it better!
ae-05
ae-05
(repo name will be suffixed with your NetID).