ESA 2016 workshop on Data Visualization using R.
Welcome to the GitHub repository for the data visualization using R and ggplot workshop at ESA 2016.
NOTE: This will be a work in progress until early August 2016.
Location and time:
Sunday, August 7, 2016
12:00 PM - 5:00 PM
304, Ft Lauderdale Convention Center
The R programming language is one of the most widely used tools for statistical analysis in the academic community. In addition to its large and ever-expanding suite of analytical tools, R is capable of producing publication quality figures that can easily be embedded into publications, presentations, and lab notebooks. In addition to its core functionality, the ability to do sophisticated visualization in R is enhanced by supplemental packages, most notably the ggplot2 library. In this workshop we move beyond basic plotting and highlight some of the more powerful approaches for visualization in R, focusing in particular on the functionality represented by the ggplot2 library (and associated packages). We will explain the 'grammar of graphics' that ggplot2 uses to build graphs and figures of all types. This workshop will also briefly cover the use of the dplyr and reshape2 packages, which are incredibly useful tools to format datasets before plotting and/or analysis. We will provide some example datasets beforehand but feel free to bring your own along with your laptop and a pre-installed copy of R and RStudio (available free online for all platforms at rstudio.com) to participate.
Pre workshop instructions
Important: There will be wifi in conference rooms this year, but plan on spending 10 minutes Saturday night (or even before arriving in Fort Lauderdal) to download and install R and RStudio, to install the packages listed below, and to download a local copy of this repository (see instructions below). It takes a bit of bandwidth to do all this, so best not to rely on convention center wifi.
If you don't already have R set up with a suitable code editor, we recommend downloading and installing R and RStudio Desktop for your platform. Once installed, open RStudio and install the following packages. Simply paste these commands into your prompt.
install.packages("ggplot2", dependencies = TRUE) install.packages("ggthemes") install.packages("tidyr") install.packages("dplyr")
You will want to copy and paste the above into the "Console" of RStudio, like below. After copying and pasting, simply hit 'enter', and you will see a bunch of text letting you know that they are being installed.
Downloading code/data from this repository
If you're already familiar with
Git, then simply clone this repo. If you're not familiar with Git, simply hit the Download ZIP button at the top of this page (scroll up to see it). If you're not sure where to save it, just download and unzip to your Desktop.
Please wait until Saturday afternoon to this so you are able to download the latest changes. Otherwise do another git pull or replace your downloaded copy with a newer one.
If you're having any trouble with these steps please drop us an email. We'll also strive to have local copies if you forget to install any of these tools.
See you Sunday!