Tour de France
Survival analysis, Animated bar graph (gganimate package)
Notable topics: Survival analysis, Animated bar graph (gganimate package)
Recorded on: 2020-04-06
Timestamps by: Alex Cookson
Screencast
Timestamps
Using transmute function, which combines functionality of mutate (to create new variables) and select (to choose variables to keep)
Using glance function from broom package to get a one-row model summary of the survival model
Using extract function to pull out a string matching a regular expression from a variable (stage number in this case)
Using group_by function's built-in "peeling" feature, where a summarise call will "peel away" one group but left other groupings intact
Using rank function, then upgrading to percent_rank function to give percentile rankings (between 0 and 1)
Reviewing boxplots exploring relationship between first-stage performance and overall Tour performance