Monthly Archives: August 2010

Matlab-style multiple assignment in R

August 26, 2010
By
Matlab-style multiple assignment in R

R again! You know how in Matlab you can do? S, I = sort(M) I like that. R generic functions makes this possible. First, let’s genericize assignment. I feel like regular “=” and “<-” oughta stay nongeneric, so let’s make … Continue reading →

Read more »

ProjectTemplate

August 26, 2010
By

Introduction As many people already know, I’ve recently uploaded a new R package called ProjectTemplate to GitHub and CRAN. The ProjectTemplate package provides a function, create.project(), that automatically builds a directory for a new R project with a clean sub-directory structure and automatic data and library loading tools. My hope is that standardized data loading,

Read more »

Oh (de)bugger!

August 26, 2010
By
Oh (de)bugger!

By number of questions asked, R passed MATLAB for the first time on Stack Overflow today. Thus it seems an appropriate time to write my first R-based post. This post concerns what to  do when your R-code goes pear shaped. Back in June there were a couple of very good videos on R debugging that

Read more »

New R User Groups in Seoul, Denver

August 26, 2010
By

We have two new local R user groups to report this week. In Seoul, South Korea R user Chel Hee Lee is the organizer of the GNU R User's Group and Open Statistics Project in Korea. My translate-fu isn't quite up to figuring out when the next meeting is, but you can contact the group organizers here or here....

Read more »

Producing grids of plots in R with ggplot2: A journey of discovery

August 26, 2010
By
Producing grids of plots in R with ggplot2: A journey of discovery

I’ve just gone through a bit of a ‘journey of discovery’ in R while trying to plot a grid of plots for one of the research projects I’m doing. I wanted to write a simple function which could produce this grid of plots from a CSV file, allowing me to easily view the trends of

Read more »

In Search of Power-laws: WikiLeaks Edition

August 26, 2010
By
In Search of Power-laws: WikiLeaks Edition

Yesterday, a commenter reminded me of the very popular hobby among scientists of searching for power-law distributions in large event data. While the commonality of scale invariance in event data is quite well known—particularly with respect to conflict data—this has not prevented many researchers from seeking and finding these patterns in data. As the commenter notes,

Read more »

Mike’s CNC 2010-08-26 06:37:00

August 26, 2010
By

Rweblinks, by Abhijit: http://files.meetup.com/1503964/Rweblinks.html.

Read more »

Mike’s CNC 2010-08-26 06:37:00

August 26, 2010
By

Rweblinks, by Abhijit: http://files.meetup.com/1503964/Rweblinks.html.

Read more »

Louis: A Silent Film with Live Music

August 26, 2010
By

The Chicago Symphony hosted the world premiere of Louis last evening, and I had snatched the (literally) last available ticket. The film, which is written, directed and producted by Dan Pritzker, is based loosely on the early years of Louis Armstro...

Read more »

Labor vote share across different types of balloting

August 26, 2010
By
Labor vote share across different types of balloting

We’re starting to get more divisions reporting two-candidate preferred numbers by vote type. The emerging picture (literally) is one in which Labor’s performance on the pre-polls and postals is lagging its performance in ordinary votes. On the other hand, Labor seems to be doing well among absentee voters (the regression line sitting above the 45

Read more »