Created
April 25, 2019 20:53
-
-
Save arvi1000/2c701f908fa41ea938f7e76bc46d8f97 to your computer and use it in GitHub Desktop.
How much climbing in RUSA brevets in California? How does Boonville 300k brevet compare?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 'dat' from https://rusa.org/cgi-bin/permsearch_GF.pl | |
boonville_300 <- data.frame(distance_km = 192.8/.62, | |
climbing_ft = 10460, | |
label_x = 325, | |
label_y = 5500, | |
label_txt='Boonville 300 Brevet') | |
ggplot(dat, aes(x=distance_km, y=climbing_ft)) + | |
# perms | |
geom_point(alpha=.5) + | |
geom_smooth(method='lm', color='black') + | |
# boonville | |
geom_point(data=boonville_300, color='red') + | |
geom_segment(data=boonville_300, | |
aes(xend=label_x, yend=label_y), | |
color='red') + | |
geom_text(data=boonville_300, | |
aes(x=label_x, label_y, label=label_txt), | |
hjust=0) + | |
scale_y_continuous(labels = scales::comma) + | |
theme_light() + | |
labs(title = 'Hilliness of RUSA Perms', | |
subtitle = 'California 200-399km') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://twitter.com/arvi1000/status/1121517011576602624