Monthly Archives: September 2010

Straight, curly, or compiled?

September 7, 2010
By

Christian Robert, whose blog I commented-on here once before, had followed up on a recent set of posts by Radford Neal which had appeared both on Radford's blog and on the r-devel mailing list. Now, let me prefix this by saying that I really enjoyed R...

Read more »

Straight, curly, or compiled?

September 7, 2010
By

Christian Robert, whose blog I commented-on here once before, had followed up on a recent set of posts by Radford Neal which had appeared both on Radford's blog and on the r-devel mailing list. Now, let me prefix this by saying that I really enjoyed Radford's posts. He obviously put a lot of time into finding a number of (all...

Read more »

Ah Bach…

September 7, 2010
By
Ah Bach…

As announced by David Smith over at Revolution Analytics,  a ggplot2 Case Study Competition is on...   Rather than blogging for the last few days, I cobbled together an entry.  It is not a particularly mind bending use of ...

Read more »

Ah Bach…

September 7, 2010
By
Ah Bach…

As announced by David Smith over at Revolution Analytics,  a ggplot2 Case Study Competition is on...   Rather than blogging for the last few days, I cobbled together an entry.  It is not a particularly mind bending use of ...

Read more »

Eigenimages: The AT&T Cambridge Faces Database

September 7, 2010
By
Eigenimages: The AT&T Cambridge Faces Database

I picked up the AT&T Laboratories Cambridge database of faces for a clustering application. The database consists of images of 40 distinct subjects, each in 10 different facial positions and expressions. Typically, the goal of clustering in these data is to recover the ‘true’ partition, or that which isolates images of distinct subjects. Each image

Read more »

Revolution R Enterprise 4.0 free download for academics

September 7, 2010
By

The Windows version of our latest enterprise distribution of R, Revolution R Enterprise 4.0, is now being delivered to subscribers and is also available for free download for members of the academic community. Revolution R Enterprise 4.0 is a major update, and includes many new and improved features: Based on R 2.11.1, the current release of the R. See...

Read more »

Barchart or Dotchart?

September 7, 2010
By
Barchart or Dotchart?

Which of the following two charts (both created with R) to you prefer? This dotchart: Or this bar chart? Andrew Gelman (who, incidentally, is speaking at the October NYC UseR meeting) prefers the dotchart prefers a line plot (update: see Gelman's comment, below), but personally I think the bar chart is more easily interpreted. What do you think? You...

Read more »

Example 8.4: Including subsetting conditions in output

September 7, 2010
By
Example 8.4: Including subsetting conditions in output

A number of analyses perform operations on subsets. Making it clear what observations have been excluded or included is helpful to include in the output.SASThe where statement (section A.6.3) is a powerful and useful tool for subsetting on the fly. (...

Read more »

Embed R Code with Syntax Highlighting on your Blog

September 7, 2010
By

If you use blogger or even wordpress you've probably found that it's complicated to post code snippets with spacing preserved and syntax highlighting (especially for R code). I've discovered a few workarounds that involve hacking the blogger HTML templ...

Read more »

Writing a Spatial Function: The Location Quotient

September 7, 2010
By
Writing a Spatial Function: The Location Quotient

Background: In some cases it is necessary to conduct the same analysis multiple times on either the same or different data. In such circumstances it is worth writing a function to simplify the code. In this example the location quotient provides a simple calculation easily written in to a function. The location quotient (LQ) is

Read more »