- H. Wickham: Official ggplot2 documentation
- H. Wickham: ggplot2 book
- W. Chang: R graphics cookbook and Cookbook for R
- Z. Ross: Beautiful plotting in R: A ggplot2 cheatsheet
- D. Koffman: Introduction to ggplot2
- R. Saccilotto: Tutorial: ggplot2
- R. Hartman: How to format plots for publication using ggplot2
- G. Williams: Visualising data with ggplot2
This file contains 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
library(SmarterPoland) | |
library(riverplot) | |
library(RColorBrewer) | |
library(graphics) | |
library(reshape2) | |
library(plyr) | |
library(stringr) | |
library(countrycode) | |
# DOWNLOAD THE DATA |
This file contains 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
tt %>% | |
mutate( | |
laststation = as.character(laststation), | |
TagID = as.character(TagID) | |
) %>% | |
group_by(laststation) %>% | |
ggplot(aes(TagID, kmday)) + | |
geom_segment(aes(xend=TagID, yend=0)) + | |
geom_point(shape="—", size=5) + | |
facet_wrap(~laststation, nrow=1, scales="free_x") + |
This is for an update to the the SpatioTemporal Task View.
If you have any other suggestions, please leave a comment below - or raise an issue here: https://github.com/mdsumner/ctv-mdsumner/issues (or just email/tweet me).
(This is not the final presentation format).