1810 search results for "ggplot"

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 »

Creepypasta – Votes vs. Rating (& learning ggplot2)

February 8, 2014
By
Creepypasta – Votes vs. Rating (& learning ggplot2)

Excel: R, base package:R, ggplot:Am I overfitting? Probably.Code: More fun stuff to come....ReferencesSource data at Creepypasta.com:http://www.creepypasta.com/creepypasta-ratings-index/Code on gist:http://gist.github.com/mylesmharrison/8886272Creepypa...

Read more »

ggPlot2: Histogram with jittered stripchart

February 5, 2014
By
ggPlot2: Histogram with jittered stripchart

Here is an example of a Histogram plot, with a stripchart (vertically jittered) along the x side of the plot.Alternatively, using the geom_rug function:Of course this simplicistic method need to be adjusted in vertical position of the stripchart or rug...

Read more »

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 »

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 »