A quick introduction to ggplot2

April 10, 2013

(This article was first published on Inundata » R, and kindly contributed to R-bloggers)

My friend Jonah asked me to guest lecture in his R seminar aimed at grad students and postdocs in Integrative Biology. I gave Jonah a bunch of topic options ranging from reproducible research with R to data manipulation. The consensus was data visualization so I put together a 2 hour talk/hands on presentation for ggplot2 beginners. Here are my slides and code in case anyone else might benefit from it.

What worked

  • People got a good sense of what’s possible with ggplot2 even if they couldn’t keep up with the examples.
  • The code worked for most attendees except for a few glitches (see below).

What didn’t work

  • Several people still had very old copies of R or outdated copies of ggplot dependencies (which made their upgrade a little less intuitive).
  • Sourcing code/data from GitHub using devtools source_url doesn’t seem to work on Windows machines. I can’t replicate the problem without access to one but I might have to work out a better way to share data.

Slides are on Speakerdeck and the full repository is on GitHub. Please feel free to reuse, remix, or contribute to this presentation.

To leave a comment for the author, please follow the link and comment on their blog: Inundata » R.

R-bloggers.com offers daily e-mail updates about R news and tutorials on topics such as: Data science, Big Data, R jobs, visualization (ggplot2, Boxplots, maps, animation), programming (RStudio, Sweave, LaTeX, SQL, Eclipse, git, hadoop, Web Scraping) statistics (regression, PCA, time series, trading) and more...

If you got this far, why not subscribe for updates from the site? Choose your flavor: e-mail, twitter, RSS, or facebook...

Comments are closed.

Search R-bloggers


Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)