1861 search results for "ggplot2"

ggplot2 0.9.3 and plyr 1.8 have been released!

December 6, 2012
By
ggplot2 0.9.3 and plyr 1.8 have been released!

We’re pleased to announce new versions of ggplot2 (0.9.3) and plyr (1.8).  To get up and running with the new versions, start a clean R session without ggplot2 or plyr loaded, and run install.packages(c("ggplot2", "gtable", "scales", "plyr")). Read on to find out what’s new. ggplot2 0.9.3 Most of the changes version 0.9.3 are bug fixes. Perhaps

Read more »

ggplot2 Tutorial

November 23, 2012
By
ggplot2 Tutorial

Here is a link to a wonderful ggplot2 tutorial: http://www.ceb-institute.org/bbs/wp-content/uploads/2011/09/handout_ggplot2.pdf by R. Saccilotto and the Basel Institute for Clinical Epidemiology …Continue reading »

Read more »

Controlling heatmap colors with ggplot2

November 22, 2012
By
Controlling heatmap colors with ggplot2

One of the most popular posts on this blog is the very first one, solving the issue of mapping certain ranges of values to particular colors in heatmaps. Given the abundance of ggplot2 usage in R plotting, I thought I’d … Continue reading →

Read more »

Plotting letters as shapes in ggplot2

November 5, 2012
By
Plotting letters as shapes in ggplot2

This post is a little more esoteric than most, but I found myself needing to solve this problem, so I’m just passing the solution on to you. The plot above shows the distribution of DW-NOMINATE scores for the 18th Congress, with party indicated ...

Read more »

ggplot2 Pinterest

October 29, 2012
By

I don’t understand the website Pinterest, but it looks pretty (especially on the iPad), and an undergraduate student said it was the greatest thing since Facebook, so I thought I would give it a shot. The idea is that Pinterest … Continue reading →

Read more »

ggmcmc – diagnostic plots for MCMC with ggplot2

October 21, 2012
By
ggmcmc – diagnostic plots for MCMC with ggplot2

Xavier Fernández i Marín, who maintains the jags package on Gentoo Linux, writes to tell me he is developing the R package ggmcmc. This package is for visualizing Markov Chain Monte Carlo output using ggplot2 graphics and  should complement the … Continue reading →

Read more »

ggplot2 primer in 10 minutes

October 15, 2012
By
ggplot2 primer in 10 minutes

Here’s a nice presentation from Christophe Ladroue which really does give an insight into the R package ggplot2 if you’ve never used it before. Each line of code can be clicked on to reveal the corresponding graph!

Read more »

A very quick introduction to ggplot2

October 14, 2012
By
A very quick introduction to ggplot2

I gave a very brief 10mn introduction to ggplot2 at the Birmingham R user group meeting on Monday. The aim was to give a headstart to R users who’ve heard of ggplot2 but never got around to trying it. I … Continue reading →

Read more »

Simplest possible heatmap with ggplot2

September 27, 2012
By
Simplest possible heatmap with ggplot2

Featuring the lovely “spectral” palette from Colorbrewer. This really just serves as a reminder of how to do four things I frequently want to do: Make a heatmap of some kind of matrix, often a square correlation matrix Reorder a factor vari...

Read more »

Automatic drug utilization reports with R and ggplot2

September 18, 2012
By
Automatic drug utilization reports with R and ggplot2

This program takes a data set of drug utilisation of 4 fictional drugs in 10 fictional hospitals and plots each time-series with a locally weighted regression (Lowess) trend line. It also places an time-series trend of the usage for each … Continue reading →

Read more »