Category: ggplot2
-
Step by Step: A Stylised Pedigree using reshape and ggplot2
During a minor bout of procrastination, I produced a stylised pedigree using Hadley Wickham's amazing reshape and ggplot2 packages in R. Not being particularly artistically minded, I was quite chuffed with the end product: Ancestors & descendants from single Soay sheep "Snowball" on St Kilda. Made in R using reshape & ggplot2. #rstats pic.twitter.com/nOhkkpYN7G —…
-
Creating a large scale map using ggplot2: a step by step guide.
Updated version of previous post!
-
A quick and easy function to plot lm() results with ggplot2 in R
Updated Apr 2015: Sometimes it's nice to quickly visualise the data that went into a simple linear regression, especially when you are performing lots of tests at once. Here is a quick and dirty solution with ggplot2 to create the following plot: Let's try it out using the iris dataset in R: data(iris) head(iris) ##…
-
Creating a large scale map using ggplot2: a step by step guide.
* UPDATED 2nd SEPTEMBER 2013 * Whenever I have needed a map in a presentation, I have always slipped in a cheeky screenshot from Google and prayed that the copyright police won’t burst into the door and arrest me (talks are stressful enough). However, I was determined to change this, and after extensive trawling of…