MATLAB/R Dictionary (Rosetta Stone Talk – 1/3)

January 17, 2010
By

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

Read more »

Data munging with SQL and R (Rosetta Stone Talk – 3/3)

January 17, 2010
By

Presentation given by Josh Reich at the NYC R Statistical Meetup on January 7, 2010. The January Meetup was the "R Rosetta Stone," and this talk covers R, SQL and Postgres.

Read more »

Typos in Chapter 8

January 16, 2010
By
Typos in Chapter 8

Phew!, we are now done with the solution manual in the sense that we have compiled solutions for all odd-numberedd exercises (but one!) and solved a fair number of even-numbered exercises. As it stands, the manual is 120 pages long and I am exhausted by the run to produce it over the past week. I

Read more »

Getting Started with the R Programming Language

January 16, 2010
By

Download Code Like A Pirate - The #rstats Appliance from the SUSE Gallery  The R programming language was featured about a year ago in a New York Times article (http://bit.ly/iaqQ). I've been an R user since 2000, so I've collected some resources ...

Read more »

Connecting to a DB2 database from R

January 16, 2010
By
Connecting to a DB2 database from R

Unlike RMySQL and RSQLite there is no RDB2. However, I found it pretty straightforward connecting to a DB2 database using the JDBC driver and the RJDBC package. For all this to work, DB2 should be setup to use TCPIP, which is not used by default. You need to set the DB2COMM DB2 environment variable to

Read more »

Interesting use of levelplot() for time series data

January 16, 2010
By
Interesting use of levelplot() for time series data

levelplot example: soil temperature (left) and moisture (right) Several recent articles appeared on the R-bloggers feed aggregator that demonstrated an interesting visualization of time series data using color. This style of visualization was readily adapted for the time...

Read more »

Gay Marriage: Another Data Point

January 16, 2010
By

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.

Read more »

A tale of two visualizations (because it’s Friday)

January 15, 2010
By
A tale of two visualizations (because it’s Friday)

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...

Read more »

Equivalents to SAS, SPSS modules in R

January 15, 2010
By

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,...

Read more »

R Tutorial Series: Hierarchical Linear Regression

January 15, 2010
By
R Tutorial Series: Hierarchical Linear Regression

Regression models can become increasingly complex as more variables are included in an analysis. Furthermore, they can become exceedingly convoluted when things such as polynomials and interactions are explored. Thankfully, once the potential independe...

Read more »

Learning R via Python…or the other way around (Rosetta Stone Talk – 2/3)

January 15, 2010
By

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.

Read more »

RQuantLib 0.3.2 released

January 14, 2010
By

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...

Read more »

RQuantLib 0.3.2 released

January 14, 2010
By

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 ...

Read more »

RQuantLib 0.3.2 released

January 14, 2010
By

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...

Read more »

Typos in Chapters 6-7

January 14, 2010
By
Typos in Chapters 6-7

Over the weekend and during the R exams, I managed to complete the solution set for Chapters 6 and 7 of “Introducing Monte Carlo Methods with R”. Chapter 6 only exhibited a few typos, despite me covering most exercises in Chapter 6, hence the merging of both chapters. – in Exercise 6.13, both and

Read more »

Coming to R from SQL, Python, SAS, Matlab, or Lisp

January 14, 2010
By

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...

Read more »

Quick thoughts on “R-Powered Web Apps”

January 13, 2010
By

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...

Read more »

Example 7.22: the Knapsack problem

January 13, 2010
By
Example 7.22: the Knapsack problem

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...

Read more »

Making Maps with R

January 13, 2010
By
Making Maps with R

***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

Read more »

Rcpp 0.7.2

January 13, 2010
By

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

Read more »

Rcpp 0.7.2

January 12, 2010
By

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...

Read more »

Rcpp 0.7.2

January 12, 2010
By

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...

Read more »

Rcpp 0.7.2

January 12, 2010
By

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...

Read more »

Academics’ Slang: Orthogonal

January 12, 2010
By

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...

Read more »

In case you missed it: December roundup

January 12, 2010
By

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...

Read more »

A new twist on the identifier mapping problem

January 11, 2010
By
A new twist on the identifier mapping problem

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

Read more »

Typos in Chapter 5

January 11, 2010
By
Typos in Chapter 5

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

Read more »

R exams

January 11, 2010
By
R exams

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

Read more »

Bay Area User Group: R-Powered Web Apps

January 11, 2010
By

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...

Read more »