1859 search results for "ggplot2"

Boxplot with mean and standard deviation in ggPlot2 (plus Jitter)

February 2, 2014
By
Boxplot with mean and standard deviation in ggPlot2 (plus Jitter)

When you create a boxplot in R, it automatically computes median, first and third quartile ("hinges") and 95% confidence interval of median ("notches").But we would like to change the default values of boxplot graphics with the mean, the mean + st...

Read more »

ggplot2 in Python: A major barrier broken

January 20, 2014
By
ggplot2 in Python: A major barrier broken

I have been working with Python recently and I have to say, I love it. There’s a learning curve, of course, which has been frustrating. However, once I got comfortable with it (and continue to do so), I found that … Continue reading →

Read more »

Animated choropleths using animation, ggplot2, rCharts, googleVis and Shiny to visualize violent crime rates in different US States across 5 decades

January 17, 2014
By

This post uses animated choropleths to visualize violent crime rates in different US States across 5 decades (1961-2010). Data are retrieved from Quandl.  Animation of rCharts and googleVis based choropleths is done in the shiny server environment...

Read more »

ggplot2: Cheatsheet for Barplots

January 9, 2014
By

<p>Loading ...</p>

Read more »

Introduction to Spatial Data and ggplot2

December 9, 2013
By
Introduction to Spatial Data and ggplot2

For those starting out with spatial data in R, Robin Lo

Read more »

Introduction to R and ggplot2 course

December 6, 2013
By

This course is about getting to grips with the basics of the R command line for basic data analysis and visualisation. There's a focus on maps and ggplot2. The first part of the course uses Rich Harris's "Short Introduction to R" (here). The second part works through an "Introduction to Spatial Data and ggplot2" (Cheshire and Lovelace, 2013), which can be found...

Read more »

Introduction to R and ggplot2 course

December 6, 2013
By

This course is about getting to grips with the basics of the R command line for basic data analysis and visualisation. There's a focus on maps and ggplot2. The first part of the course uses Rich Harris's "Short Introduction to R" (here). The second part works through an "Introduction to Spatial Data and ggplot2" (Cheshire and Lovelace, 2013), which can be found...

Read more »

How to format plots for publication using ggplot2 (with some help from Inkscape)

November 20, 2013
By
How to format plots for publication using ggplot2 (with some help from Inkscape)

The following is the code from a presentation made by Rosemary Hartman to the Davis R Users’ Group. I’ve run the code through the spin function in knitr to produce this post. Download the script to walk through here. First, make your plot. I am going to use the data already in R about sleep habits...

Read more »

Using R: Coloured sizeplot with ggplot2

November 17, 2013
By
Using R: Coloured sizeplot with ggplot2

Someone asked about this and I though the solution with ggplot2 was pretty neat. Imagine that you have a scatterplot with some points in the exact same coordinates, and to reduce overplotting you want to have the size of the dot indicating the number of data points that fall on it. At the same time

Read more »

ggplot2: Cheatsheet for Scatterplots

November 13, 2013
By

<p>Loading ...</p>

Read more »