Relevant to my earlier post about the relationship between direct democracy and laws prohibiting gay marriage, Pew Research just published poll data showing that a majority of Americans disapprove of same-sex marriage.

Relevant to my earlier post about the relationship between direct democracy and laws prohibiting gay marriage, Pew Research just published poll data showing that a majority of Americans disapprove of same-sex marriage.

GEEK FIGHT!!! says JD Long on Twitter as the New York Times publishes a widely-reposted interactive graphic about Netflix rental data, and the Wall Street Journal also gets into the interactive-viz game with a graphic on bank bonuses. If it's a fight, it's a knockout in the first round, if you ask me. There's no surprise why the Netflix...

Bob Muenchen, the author of R for SAS and SPSS Users, has created a handy table listing the R packages that implement the statistical methods included in add-on modules for SAS and SPSS. For example, if you're looking for the equivalent structural equation modeling functions you might be using in PROC CALIS from SAS/STAT or the SPSS "Amos" software,...

Presentation given by Drew Conway at the NYC R Statistical Meetup on January 7, 2010. The January Meetup was the "R Rosetta Stone," and this talk covers R and Python.

A new version of RQuantLib (a package combining the quantitative analytics of QuantLib with the R statistical computing environment and language) is now out at CRAN and in Debian (where it depends on the 1.0.0 beta of QuantLib that is currently in t...

A new version of RQuantLib (a package combining the quantitative analytics of QuantLib with the R statistical computing environment and language) is now out at CRAN and in Debian (where it depends on the 1.0.0 beta of QuantLib that is currently in the ...

A new version of RQuantLib (a package combining the quantitative analytics of QuantLib with the R statistical computing environment and language) is now out at CRAN and in Debian (where it depends on the 1.0.0 beta of QuantLib that is currently in t...

The theme of last week's meetup of the New York R User Group was The R Rosetta Stone and focused on translating between R and other data languages: SAS, Matlab, SQL, Python and Clojure. I really wish I'd been there, because it's a great topic -- one of the best ways to get started with R is to bootstrap...

Good session at last nights Bay Area UseR Group meeting on R-Powered Web Apps. First of all, there's clearly a lot of interest in using R in Web-based applications: although the program was only announced a week ago, more than 100 people showed up for the talks from Jeff Horner and Jeroen Oons. Second, the Twitter offices are very...

The website http://rosettacode.org/wiki/Knapsack_Problem describes a fanciful trip by a traveler to Shangri La. They can take as many as they want of three valuable items, as long as they fit in a knapsack. The knapsack will hold no more than 25 weight units, and no more than 25 volume units. The problem is to maximize the...

***This tutorial has been updated, please click here*** I frequently use R (a free software environment for statistical computing and graphics) for data analysis. As almost all my data are spatial it is often good to produce a map of the results without having to export the data into another GIS package. I am often

pre{ border: 1px solid black ; } Rcpp 0.7.2 is out, checkout Dirk's blog for details selected highlights from this new version: character vectors if one wants to mimic this R code in C > x

Not even two weeks after the Rcpp 0.7.1 release, Romain and I have a new one to present: Rcpp 0.7.2. It has been uploaded to CRAN and Debian, and the respective package management systems should carry them around in the next few hours. As always, th...

Not even two weeks after the Rcpp 0.7.1 release, Romain and I have a new one to present: Rcpp 0.7.2. It has been uploaded to CRAN and Debian, and the respective package management systems should carry them around in the next few hours. As always, the l...

Not even two weeks after the Rcpp 0.7.1 release, Romain and I have a new one to present: Rcpp 0.7.2. It has been uploaded to CRAN and Debian, and the respective package management systems should carry them around in the next few hours. As always, th...

H. G. Wells famously said that, “statistical thinking will one day be as necessary for efficient citizenship as the ability to read and write.” I think we’re getting closer to that day: even the Supreme Court of the United States plan...

In case you missed them, here are some articles from last month of particular interest to R users. This post looked at a climate change controversy involving the weather in Darwin, Australia and a review of the source data using R. This post showed how to access global weather data from the US National Centers for Environment Prediction using...

Yesterday, Deepak wrote about BridgeDB, a software package to deal with the “identifier mapping problem”. Put simply, biologists can name a biological entity in any way that they like, leading to multiple names for the same object. Easily solved, you might think, by choosing one identifier and sticking to it, but that’s apparently way too

After writing the solutions to the odd-numbered exercises in Chapter 5 of “Introducing Monte Carlo Methods with R”., I alas found the following typos, two of which are rather major (Exercise 5.3 and Example 5.16). I apologise to the readers these typos may confuse. – Exercise 5.3 has no simple encompassing set and the constraint should

As posted yesterday, today was the day of my Exploratory Statistics exam, turned into 3 R exams because of the lack of terminals for the students to work on. (We tried to encourage students to use their own laptop but less than twenty registered…) If you happen to be interested in those exams, they are

For those in the San Francisco area, tomorrow night's Bay Area R User Group meeting -- to be held at Twitter's HQ -- is a must-see. The theme is "R-Powered Web Apps" and features guest speakers Jeroen Ooms and Jeff Horner. (Disclosure: REvolution Computing is sponsoring Jeroen's appearance at this event.) We've featured Jeroen's awesome web-based applications using R...

It took several months after learning about ggplot2 before I gave it a try myself. I was apprehensive about learning a new graphics system with a new set of commands. Thing is, if you've ever used plot() in R, you already know how to use much of the functionality in ggplot2! In this tutorial I want to show you...

In a previous post I gave some examples of how to make a progress bar in R. In the examples the bars were created within loops. Very often though I have situations where I would like have a progress bar when using apply(). The plyr package provides several apply-like functions also including progress bars, so

Given the recent votes on same-sex marriage in New Jersey and Portugal, I wanted to test a seemingly innocuous claim that touches upon very broad issues in political theory: does the degree of directness of a “democratic” vote predict whether the vote will promote or prohibit same-sex marriage? Naively, it seemed clear to me that