1733 search results for "ggplot2"

Manipulation of the legend in ggplot2 (R)

October 25, 2013
By
Manipulation of the legend in ggplot2 (R)

You are one click away from a post on the various way one can change the legend title in ggplot2, combine several aesthetic, remove the legend in ggplot2. http://rpubs.com/hughes/10012Filed under: R and Stat Tagged: ggplot2, R

Read more »

Hungarian RUG on ggplot2

October 17, 2013
By
Hungarian RUG on ggplot2

The rather new-born Budapest Users of R Network, the only Hungarian R User Group so far, with already 85+ members, continues its really young traditions to have talks on data visualization and providing a place for Hungarian R users to socialize while having some free pizza and drinks.Our next session will focus on...

Read more »

Using ggplot2

October 11, 2013
By
Using ggplot2

I have a standard code for ggplot2 which I use to make line graphs, scatter plots, and histograms. For lines or scatters: p<- ggplot(x, aes(x=Year, y=Rank, colour=Uni, group=Uni)) #colour lines by variable Uni #group Uni labelled variables in the same line Then:  p + #you get an error if not for this step geom_line(size=1.2) +

Read more »

Visualizing the Forbes-CCAP University Rankings using ggplot2, rCharts, googleVis, and the shiny server

August 27, 2013
By
Visualizing the Forbes-CCAP University Rankings using ggplot2, rCharts, googleVis, and the shiny server

President Obama is pushing for higher education reform and the development of a rating system for Universities is a critical component of it. These ratings are likely to be based on several measures, such as graduation rates, earnings of graduates, and...

Read more »

Mapping Australian electoral divisions with ggplot2

August 18, 2013
By
Mapping Australian electoral divisions with ggplot2

I’ve seen some creative visualisations of issues surrounding the Australian election recently though not as many maps as I expected. ‘ggplot2′ is the go-to package for plotting in R so I thought I’d see if I could plot the Australian electoral divisions with ggplot2. By using the Australian Electoral Commission’s GIS mapping coordinates and mutilating

Read more »

ggplot2 meet d3

August 7, 2013
By

With great libraries, just a couple lines of code can do amazing things.  For instance, let’s limit ourselves to less than 10 lines of code and see what ggplot2 and d3 can do.  We will use gridSVG as discussed in yesterday’s post I Want ggplot2/lattice and d3 (gridSVG–The Glue) to expose ggplot2 to d3.  Thanks

Read more »

I Want ggplot2/lattice and d3 (gridSVG–The Glue)

August 6, 2013
By
I Want ggplot2/lattice and d3 (gridSVG–The Glue)

I really like interactive graphics, especially when they come straight from R.  I posted a lot about rCharts, but it is not the only way.  In my mind there are three types of glue to link R to SVG/HTML/Javascript: Let R do the data and then send the data to Javascript to create the SVG graphics....

Read more »

ggplot2 with Noam Ross theme

July 26, 2013
By
ggplot2 with Noam Ross theme

When I first saw Noam Ross' blog post "The null model for age effects with overdispersed infection", I immediately liked the look of his ggplot2 graphs. I was even more delighted when I discovered that he has made his theme available on github. Even though I am all into rCharts, I still love a beautiful publication...

Read more »

GGPlot2 #1: Employee Job Satisfaction at Top Tech Companies

July 13, 2013
By
GGPlot2 #1: Employee Job Satisfaction at Top Tech Companies

This is the first in a series of ongoing posts where I’ll take data on various topics and create simple visualizations of that data using the ggplot2 package in R. While my day job involves analyzing data, I rarely work on projects where I’m expected to produce “publication-worthy” graphics. Therefore, these posts are a way for

Read more »

ggplot2 Chloropleth of Supreme Court Decisions: A Tutorial

July 4, 2013
By
ggplot2 Chloropleth of Supreme Court Decisions: A Tutorial

I don't do much GIS but I like to. It's rather enjoyable and involves a tremendous skill set. Often you will find your self grabbing data sets from some site, scraping, data cleaning and reshaping, and graphing. On the ride … Continue reading →

Read more »