ggplot2dplyrggplot2 and dplyr.there were no slides
Links about things we talked about during open Q and A
Yes, maybe you will want to make truly interactive, web-native graphs instead of embedding PNGs. Course will probably cover ggvis in second half.
ggvis: a “pure R/RStudio” solution (though it is most certainly wrapping Javascript; it’s just shielding the user from that)rCharts: a package from Ramnath Vaidyanathan providing access to a much richer set of Javascript visualization libraries from Rd3.js: probably the most powerful, most beautiful way to make web native figures
R Markdown is not the only way to get a pretty report. You can also get one from an R script.
.r file, RStudio offers a button for this is the spiral bound notebook icon, near where the “Knit HTML” button appears for .rmd. Click and you get “Compile Notebook”.spin() from the knitr package.ggplot2 demos from her May 2014 tutorial were all made this way
#' becomes very important.rmd) or a by-product (choose .r).I passed around hard copies of these 5 books (note: some links to eBooks and repositories are tuned to UBC users):
R Graphics Cookbook by Winston Chang, O’Reilly (2013). The graphs section of his Cookbook for R website will give you a good sense of the book, which contains more material in greater detail.
ggplot2: Elegant Graphics for Data Analysis available via SpringerLink by Hadley Wickham, Springer (2009) | online docs (nice!) | author’s website for the book, including all the code | author’s landing page for the package
R Graphics, 2nd edition available via StatsNetbase by Paul Murrell, Chapman & Hall/CRC Press (2011) | author’s webpage for the book | GoogleBooks search | companion R package, RGraphics, on CRAN
Dynamic documents with R and knitr by Yihui Xie, part of the CRC Press / Chapman & Hall R Series (2013). ISBN: 9781482203530. No online access (yet?).
Reproducible Research with R & RStudio by Christopher Gandrud, part of the CRC Press / Chapman & Hall R Series (2013). ISBN: 978-1466572843. Book website | Examples and code | Book source. No online access (yet?).
ggplot2 linksggplot2 tutorial I taught May 2014 contains lots of working code, in source form and compiled to something pretty