2013 search results for "ggplot"

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 »

Setting Axis Limits on ggplot Charts

December 3, 2013
By
Setting Axis Limits on ggplot Charts

I’ve been doodling some chart in R/ggplot using geom_text() to generate a labelled scatterplot. The chart actually builds up several layers using different datasets, so it’s not obvious how to set the ranges cleanly: I know the lower bound I want for the y-axis (y=0), but I want to let the upper bound float. There’s

Read more »

R & GGPLOT – Expanded Plots

November 26, 2013
By
R & GGPLOT – Expanded Plots

>>GET THE R CODE<< R and GGPLOT are great! There are some things, however, that I want to be able to do easily. For these things I have to create template codes, which I want to share with you! This time around I wanted to show you how you can create “zoomed” areas of a

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

&lt;p&gt;Loading ...&lt;/p&gt;

Read more »

Replication of few graphs/charts in base R, ggplot2, and rCharts

November 7, 2013
By

In this post, I use a simulated dataset (7 variables -3 factor and 4 numeric - and a sample size of 50) to create graphs/charts using base R, and replicate them using ggplot2, and rCharts. This is not an attempt to create an exhaustive database of grap...

Read more »