R

Blogs on the R software.

R 2.15.0 is released!

March 30, 2012
By
R 2.15.0 is released!

The new R 2.15.0 is out! You know the drill! Get the source code from here.

Read more »

U.S. Soldiers Died from What?

March 28, 2012
By
U.S. Soldiers Died from What?

Prior to WWII, the majority of soldiers died from disease and infection.The Invisible Enemy Often Killed You Before Your Political EnemyImagine the scene: thousands of military men laying on cots, makeshift beds, or the floor - any place that...

Read more »

Social Network Analysis with R

March 27, 2012
By
Social Network Analysis with R

By Yanchang Zhao, RDataMining.com If you have tried social network analysis or graph mining with R, you might have already come across package igraph before. The package is designed for graphs and network analysis in R. It can handle large … Continue reading →

Read more »

Reminder: Kölner R User Group meets on 30 March 2012

March 26, 2012
By
Reminder: Kölner R User Group meets on 30 March 2012

Venue: Sion em Keldenich, Weyertal 47, 50937 Cologne, Germany, 6 p.m., 30 March 2012, View Larger Map For more details and registration see the Kölner R User Group page.

Read more »

Disproportionality Data

March 25, 2012
By
Disproportionality Data

So I was hunting around for some data on disproportional electoral outcomes (when the proportion of voters cast for political parties is not close to the proportion of legislative seats that they win).Michael Gallagher keeps an updated version of his L...

Read more »

Gini Efficient Frontier

March 24, 2012
By
Gini Efficient Frontier

David Varadi have recently wrote two posts about Gini Coefficient: I Dream of Gini, and Mean-Gini Optimization. I want to show how to use Gini risk measure to construct efficient frontier and compare it with alternative risk measures I discussed previously. I will use Gini mean difference risk measure – the mean of the difference [...]

Read more »

Tracking SFO Airport’s Performance Using R, HANA and D3

March 22, 2012
By
Tracking SFO Airport’s Performance Using R, HANA and D3

This is my first introduction to D3 and I am simply blown away.  Mike Bostock (@mbostock), you are genius and thanks for creating D3!  With HANA, R, D3, HTML5 and iPad, and you got yourself a KILLER combo!I have been burning my midnight oil o...

Read more »

Tracking SFO Airport’s Performance Using R, HANA and D3

March 22, 2012
By
Tracking SFO Airport’s Performance Using R, HANA and D3

This is my first introduction to D3 and I am simply blown away.  Mike Bostock (@mbostock), you are genius and thanks for creating D3!  With HANA, R, D3, HTML5 and iPad, and you got yourself a KILLER combo!I have been burning my midnight oil o...

Read more »

Comparing Banzhaf and Shapley-Shubik power indices

March 22, 2012
By
Comparing Banzhaf and Shapley-Shubik power indices

Last week I analyzed Shapley-Shubik power index in R. I got several requests to write a code calculating Banzhaf power index. Here is the proposed code.Again I use data from Warsaw School of Economics rector elections (the details are in my last post)....

Read more »

Example 9.24: Changing the parameterization for categorical predictors

March 22, 2012
By
Example 9.24: Changing the parameterization for categorical predictors

In our book, we discuss the important question of how to assign different parameterizations to categorical variables when fitting models (section 3.1.3). We show code in R for use in the lm() function, as follows:lm(y ~ x, contrasts=list(x,"contr.trea...

Read more »


Subscribe

Email:

  Subscribe