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...
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
As mentioned in a previous post, the US Department of Energy has been providing data about the Deepwater Horizon as it becomes available. Recently, the amount of oil and gas recovered was made available. The spreadsheet includes a grap...
In this post we will build on the last one, and create a matrix scatterplot. The package lattice allows for some really excellent graphics. In case you haven’t already seen it I recommend the R Graph Gallery for some examples of what it can do – browse the graphics by package used to create them.
R O How G8 U R!Hey, R U there? Having used the R language for awhile now, I would like to let you know that R works - in fact R works really well. If you keep up with R news this should be no surprise...this is, after all...an r blog! R and R alone c...
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).