2076 search results for "ggplot"

Unit Testing in R: The Bare Minimum

August 17, 2010
By

Introduction This week I decided to start unit testing my R code, so I taught myself the bare minimum about the RUnit and testthat packages to be able to use them. Here’s what I found necessary to get started writing tests with both packages. RUnit Basic Example I’m going to assume that you’ve got a

Read more »

In case you missed it: July Roundup

August 16, 2010
By

In case you missed them, here are some articles from July of particular interest to R users. We reviewed the updates to Hadley Wickham's ggplot2 and plyr packages. We linked to an article about R co-creator Ross Ihaka in New Zealand's Sunday Star Times. We noted that the presentations from the R/Finance 2010 conference are available for download. We...

Read more »

Charting the performance of cricket all-rounders – IT Botham

August 16, 2010
By
Charting the performance of cricket all-rounders – IT Botham

Cricket is a sport that generates a large volume of performance data and corresponding debate about the relative qualities of various players over their careers and in relation to their contemporaries. The cricinfo website has an extensive database of statistics for professional cricketers that can be searched to access the information in various formats. As an

Read more »

Gone Guerrill_ R on Our Data

August 16, 2010
By

Here's a summary of some things we learnt about applying R to computer performance and capacity planning data in the GDAT Class last week. Neural nets pkg nnet applied to CPU performance data in the Ripley and Venables book (see Section 8.10). How to do stacked plots that Jim calls "spark plots." Jim told...

Read more »

Gone Guerrill_ R on Our Data

August 16, 2010
By

Here's a summary of some things we learnt about applying R to computer performance and capacity planning data in the GDAT Class last week. Neural nets pkg nnet applied to CPU performance data in the Ripley and Venables book (see Section 8.10). How to do stacked plots that Jim calls "spark plots." Jim told...

Read more »

Introducing visualVaR.com

August 13, 2010
By
Introducing visualVaR.com

After a month of on-again, off-again coding, I’ve finally completed a web site geared towards calculating the Value at Risk of the average investor’s portfolio. The site is visualvar.com. The big idea was to combine the statistical and visualization tools of R (especially ggplot2) with the web interface of Drupal. While I’m

Read more »

Baseball games: getting longer?

August 11, 2010
By
Baseball games: getting longer?

ESPN's Bill Simmons (aka The Sports Guy) recently suggested that the primary cause of dwindling interest in Red Sox games by fans is that baseball games these days are too long. "It's not that fun to spend 30-45 minutes driving to a game, paying for parking, parking, waiting in line to get in, finding your seat ... and then,...

Read more »

Iris Data Set Visualization Web App in < 100 LOC

August 7, 2010
By
Iris Data Set Visualization Web App in < 100 LOC

The iris data set pops up pretty regularly in statistical literature.  It consists of 50 records from three species of Iris flowers (Iris setosa, Iris virginica and Iris versicolor).   I came across it recently while reading

Read more »

Twenty rules for good graphics

August 6, 2010
By
Twenty rules for good graphics

One of the things I repeatedly include in referee reports, and in my responses to authors who have submitted papers to the International Journal of Forecasting, are comments designed to include the quality of the graphics. Recently someone asked on stats.stackexchange.com about best practices for producing plots. So I thought it might be helpful to

Read more »

Are MLB Games Getting Longer?

August 5, 2010
By
Are MLB Games Getting Longer?

On July 29, 2010, I had a flight from Denver to Cincinnati.  About an hour before boarding, I went to ESPN’s website and found a new article by Bill Simmons, a.k.a The Sports Guy (@sportsguy33 on Twitter).  The basic premise of this article is that a core group of fans is losing interest in Red

Read more »