Eco-Data-Science session (UCSB Collaboratory, January 15th, 2019)
Prepared by Allison Horst
In this eco-data-sci session, we'll use simple examples to refresh ggplot2 skills, learn some basics of gganimate with ggplot2, and explore a few other useful ggplot tools.
- Animated scatterplots
- Animated line plots
- Animated ridge plots (ggplot2 + ggridges + gganimate)
- Easing + tweening options (ease_aes and enter/exit)
- 4 transition types: transition_states, transition_layers, transition_manual, transition_reveal
- Repulsive text labels (geom_text_repel)
- tidyverse
- ggridges
- gganimate
- ggrepel
Install gganimate development version from github:
install.packages('devtools')
devtools::install_github('thomasp85/gganimate')
Friends of the Channel Island Fox: http://www1.islandfox.org/p/materials.html
This data comes from SWAPI, the Star Wars API (http://swapi.co/), and exists in dplyr as 'starwars'. More information: https://dplyr.tidyverse.org/reference/starwars.html
Accessed from UCI Machine Learning Repository (https://archive.ics.uci.edu/ml/datasets/abalone)
Warwick J Nash, Tracy L Sellers, Simon R Talbot, Andrew J Cawthorn and Wes B Ford (1994), "The Population Biology of Abalone (Haliotis species) in Tasmania. I. Blacklip Abalone (H. rubra) from the North Coast and Islands of Bass Strait", Sea Fisheries Division, Technical Report No. 48 (ISSN 1034-3288)
Original Owners of Database: Marine Resources Division Marine Research Laboratories - Taroona Department of Primary Industry and Fisheries, Tasmania