1920 search results for "ggplot"

A quick introduction to ggplot2

April 10, 2013
By

My friend Jonah asked me to guest lecture in his R seminar aimed at grad students and postdocs in Integrative Biology. I gave Jonah a bunch of topic options ranging from reproducible research with R to data manipulation. The consensus was data visualization so I put together a 2 hour talk/hands on presentation for ggplot2

Read more »

R 3.0 released; ggplot2 stat_summary bug fixed!

April 4, 2013
By

The new version of R was released yesterday. As I understand it, the numbering change to 3.0 represents the recognition that R had evolved enough to justify a new number rather than the addition of many new features. There are some important new featur...

Read more »

Colour it up: my quest to master ggplot2 (part 2)

April 3, 2013
By

Your browser does not support iframes.

Read more »

Data visualization with R and ggplot2

March 28, 2013
By
Data visualization with R and ggplot2

I’m working on a one-hour ggplot2 lecture for the San Diego R users group, which I will post here when I’m done. I think there are many great intro to R data visualization resources out there so I’ll only share working examples on my blog. A retail chain client employs a few hundred field agents who perform

Read more »

Plotting lm and glm models with ggplot #rstats

March 22, 2013
By
Plotting lm and glm models with ggplot #rstats

Update I followed the advice from Tim’s comment and changed the scaling in the sjPlotOdds-function to logarithmic scaling. The screenshots below showing the plotted glm’s have been updated. Summary In this posting I will show how to plot results from … Weiterlesen →

Read more »

Using R: Correlation heatmap with ggplot2

March 21, 2013
By
Using R: Correlation heatmap with ggplot2

Just a short post to celebrate that I learned today how incredibly easy it is to make a heatmap of correlations with ggplot2 (and reshape2, of course). So, what is going on in that short passage? cor makes a correlation matrix with all the pairwise correlations between variables (twice; plus a diagonal of ones). melt

Read more »

Learning-by-doing: my quest to master ggplot2 (part 1)

March 19, 2013
By

Your browser does not support iframes.

Read more »

The evolution of EU legislation (graphed with ggplot2 and R)

March 19, 2013
By
The evolution of EU legislation (graphed with ggplot2 and R)

During the last half century the European Union has adopted more than 100 000 pieces of legislation. In this presentation I look into the patterns of legislative adoption over time. I tried to create clear and engaging graphs that provide … Continue reading →

Read more »

Using maps and ggplot2 to visualize college hockey championships

March 13, 2013
By
Using maps and ggplot2 to visualize college hockey championships

Short: I plot the frequency of college hockey championships by state using the maps package, and ggplot2 Note: this example is based heavily on the example provided athttp://www.dataincolour.com/2011/07/maps-with-ggplot2/ data reference:http://en.wikipedia.org/wiki/NCAA_Men%27s_Ice_Hockey_Championship Question of interestAs a good Minnesotan, I've believed for quite some time that the colder, Northern states enjoy a competitive advantage when it...

Read more »

geom_point Legend with Custom Colors in ggplot

March 7, 2013
By
geom_point Legend with Custom Colors in ggplot

Formerly, I showed how to make line segments using ggplot.Working from that previous example, there are only a few things we need to change to add custom colors to our plot and legend in ggplot.First, we'll add the colors of our choice. I'll do th...

Read more »