I have found myself over the years in a rather awkward situation. I work in old-school, bricks and mortar industry IT shops for the most part. However, I love many open source projects and identify with many of the values of start up cultur...

R news and tutorials contributed by (552) R bloggers

Basically every function you use in R is part of a package (often the base or stats one). Most of the advances routines, such as the differential equations solvers in simecol are brought to R in the form of Fortran (…)Read the rest of this entry »

R can produce some beautiful graphics, and there are some excellent packages, such as lattice and ggplot2 to represent data in original ways. But sometimes, all you want to do is explore the realtionship between pairs of variables with the minimum of fuss. In this post we’ll use the data which we imported in the

Andrew Gelman wrote today about some erroneous U.S. Governor approval ratings, noting that the ratings for Janet Napolitano sum to 108%. In fact most of these ratings do not sum to 100%. I prepared a clean CSV file of the ratings, making use of R‘s XML library and the readHTMLTable function. The ratings data file

In math and economics, there is a long, proud history of placing imaginary prisoners into nasty, complicated scenarios. We have, of course, the classic Prisoner’s Dilemma, as well as 100 prisoners and a light bulb. Add to that list the focus of this post, 100 prisoners and 100 boxes. In this game, the warden places

In the last few weeks, I started focusing more on more of trophic systems with three levels or more. I wanted something to visualize the resulting trophic network, so I came up with a little R function called draw.mnet (which stands for draw a multiple-levels network).

My favorite software is Matlab, but partly because R is free, more and more people & companies choose to use R as a major working language. Nothing wrong with that, I am at the moment changing some of my Kalman Filter Matlab codes to R.One bothering issue is each software has its own...