1762 search results for "Ggplot2"

Finally, an easy way to fix the horizontal lines in ggplot2 maps

April 13, 2014
By

ggplot2 tries to make it super easy to add country or state borders to your map, and for the most part it works great as long as you include the entire map region in your plot (all the states or the entire world map for example). A long standing issue with the ggplot2 borders() function

Read more »

Shape File Selfies in ggplot2

April 11, 2014
By
Shape File Selfies in ggplot2

In this post you will learn how to: Create your own quasi-shape file Plot your homemade quasi-shape file in ggplot2 Add an external svg/ps graphic to a plot Change a grid grob's color and alpha *Note get simple .md version … Continue reading →

Read more »

Sales Dashboard in R with qplot and ggplot2 – Part 1

April 2, 2014
By
Sales Dashboard in R with qplot and ggplot2 – Part 1

In a previous post on my personal blog about creating Pivot Tables in R with melt and cast we covered a simple way to generate sales reports and summary tables from a data set consisting of orders. It is often said that a picture is … Continue reading →

Read more »

A Simple Introduction to the Graphing Philosophy of ggplot2

March 28, 2014
By
A Simple Introduction to the Graphing Philosophy of ggplot2

Blog post: a very basic introduction to building data plots using ggplot2 in R. #Rstats

Read more »

Using R: barplot with ggplot2

March 19, 2014
By
Using R: barplot with ggplot2

Ah, the barplot. Loved by some, hated by some, the first graph you’re likely to make in your favourite office spreadsheet software, but a rather tricky one to pull off in R. Or, that depends. If you just need a barplot that displays the value of each data point as a bar — which is

Read more »

Rewriting plot.qcc using ggplot2 and grid

March 3, 2014
By
Rewriting plot.qcc using ggplot2 and grid

A new ggplot2-based implementation of control charts for the #RStats package qcc, and some lessons learned along the way.

Read more »

Books and lessons about ggplot2

February 19, 2014
By
Books and lessons about ggplot2

I recently got an email from a person at Packt publishing, who suggested I write a book for them about ggplot2. My answer, which is perfectly true, is that I don’t have the time, nor the expertise to do that. What I didn’t say is that 1) a quick web search suggests that Packt doesn’t

Read more »

ggplot2: Cheatsheet for Visualizing Distributions

February 18, 2014
By
ggplot2: Cheatsheet for Visualizing Distributions

In the third and last of the ggplot series, this post will go over interesting ways to visualize the distribution of your data.

Read more »

Add a background png image to ggplot2

February 16, 2014
By
Add a background png image to ggplot2

Hey everybody, this is just a short post but I found it very useful. I want to show you how to add images as a background to your ggplot2 plots. To do so we need the packages png and grid Btw, this is just a cool and fast way to import different packages at once. …

Read more »

Scraping Pro-Football Data and Interactive Charts using rCharts, ggplot2, and shiny

February 10, 2014
By

This post uses pro-football (American) boxscore data from 1966 through 2013 and generates few interactive charts using rCharts, ggplot2 and shiny.  It also provided a first time exposure to the power of dplyr. Data for these charts were scraped fr...

Read more »