ggplot2

Two-way Analysis of Variance (ANOVA)

February 15, 2010 | Ralph

The analysis of variance (ANOVA) model can be extended from making a comparison between multiple groups to take into account additional factors in an experiment. The simplest extension is from one-way to two-way ANOVA where a second factor is included in the model as well as a potential interaction between ...
[Read more...]

Eight R Video Tutorials on VCASMO

February 4, 2010 | Ed Borasky

Download "Getting Started with the Social Media Analytics Research Toolkit" (pdf, 1.25 megabytes) Download the Social Media Analytics Research Toolkit Thanks to Drew Conway (@drewconway), a PhD student at New York University, there are now eight excell... [Read more...]

Three Must-Have Books on Data Visualization

February 3, 2010 | Ed Borasky

Download "Getting Started with the Social Media Analytics Research Toolkit" (pdf, 1.25 megabytes) Download the Social Media Analytics Research Toolkit Disclosure As you probably know, I live in the Portland, Oregon area and have for many years. One of ... [Read more...]

One-way Analysis of Variance (ANOVA)

February 3, 2010 | Ralph

Analysis of Variance (ANOVA) is a commonly used statistical technique for investigating data by comparing the means of subsets of the data. The base case is the one-way ANOVA which is an extension of two-sample t test for independent groups covering situations where there are more than two groups being ...
[Read more...]

Fluctuation plot using ggplot2 in R

January 22, 2010 | Stephen Turner

Found this nice way to visually summarize contingency tables using ggplot2 in R on Hadley Wickham's ggplot2 cheat sheet. Using the same data in my previous post on making scatterplots in small multiples, I'll demonstrate how to use ggfluctuation() to m... [Read more...]

New Features in ggplot2 0.8.5

January 6, 2010 | Stephen Turner

Learning R blog details some of the new features in the latest update to ggplot2. The latest version includes functions to make it easier to change axis and legend labels, as well as a function to easily set the limits of the plot display outside the range of the data. ... [Read more...]

The Grammar of Graphics: ggplot2 package

December 14, 2009 | Ralph

The grammar of graphics approach to constructing graphs has been implemented in the ggplot2 package in R. The author of the package, Hadley Wickham, has provided a website with many details of using the system to create nice looking graphics. The package removes many of the awkward parts of setting ... [Read more...]

Summarising data using bar charts

December 12, 2009 | Ralph

A bar graph is a frequently used type of display that compares counts, frequencies, totals or other summary measures for a series of categories, e.g. sales in different market sectors or in quarters in a financial year. The bar graph can be laid out with the categories either on ... [Read more...]

A web application for R’s ggplot2

December 7, 2009 | Tal Galili

One of the exciting new frontiers for R programming is of creating website interfaces to R code. At the forefront of this domain is a young and (very) bright man called Jeroen Ooms, whom I had the pleasure of meeting at useR 2009 (press the link to see his presentation). Today ... [Read more...]

Graph Examples from Visualizing Data by William Cleveland

November 12, 2009 | Ralph

The trellis graphics approach was pioneered by various statistical researchers and the ideas are used extensively in the book “Visualizing Data” by William Cleveland. There are various resources on the website for trellis graphics including S code for creating the majority of the graphs that appear in the book. Inspired ... [Read more...]

Using Faceting in ggplot2 to create Trellis-like Plots

November 9, 2009 | Ralph

One of the main strengths of the Trellis graphics paradigm is the use of panelling to divide data into subsets to investigate whether patterns are consistent as the conditioning variables change. In the ggplot2 package the terminology for specifying these separate panels is faceting and can be used to create ... [Read more...]

QQ plots of p-values in R using ggplot2

November 9, 2009 | Stephen Turner

Way back will wrote on this topic.  See his previous post for Stata code for doing this.  Unfortunately the R package that was used to create QQ-plots here has been removed from CRAN, so I wrote my own using ggplot2 and some code I received from Daniel Shriner at NHGRI. ... [Read more...]

Creating scatter plots using ggplot2

November 6, 2009 | Ralph

The ggplot2 package can be used as an alternative to lattice for producing high quality graphics in R. The package provides a framework and hopefully simple interface to producing graphs and is inspired by the grammar of graphics. The main function for producing graphs in this package is qplot, which ... [Read more...]

Top Five Open Source Projects of 2009

November 5, 2009 | Ed Borasky

Every year, I single out what I think are the Top Five open source projects. This year, there's only one hold-over from previous years, and it's likely that I'm just going to give it a Lifetime Achievement Award and pick five others next year. 5. NetBe... [Read more...]
1 8 9 10 11

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)