July 2011

R 2.13.1 released

July 8, 2011 | David Smith

As announced by the R core team, R 2.13.1 has been released on schedule today. For those who build R themselves, updated source code is available now; pre-built binaries will propagate through the CRAN network over the next couple of days. This update includes some minor bug fixes to graphics, fixes ... [Read more...]

The R Programming Wikibook

July 8, 2011 | John Quick

The R Programming wikibook is an open source community project that "aims to create a cross-disciplinary practical guide to the R programming language." It was launched in June 2011 and is seeking content and contributors. The full call for the R Progr...
[Read more...]

Analyzing the Failed States Index (with Polity IV)

July 7, 2011 | Tony

So, I decided to sit down and have a little fun with that Failed States Index data I put together. To start, I expect that the dataset will be pretty linearly correlated with the polity IV data. This makes sense–true democracies aren’t failed states, and failed states tend ... [Read more...]

Scary Derivatives and Scary XML in R

July 7, 2011 | klr

I need some new R skills, and there is no better motivation to learn XML in R than one of the scariest financial datasets out there—the US Department of the Treasury Office of the Comptroller of the Currency (OCC) Quarterly Derivatives Report. I’ll...
[Read more...]

High-quality R graphics on the Web with SVG

July 7, 2011 | David Smith

If you want the graphics you create with R to look their best, in general it's best to go for a vector-based graphics format instead of a raster-based format. Common formats like GIF and JPG are raster-based: the image is composed of pixels, and if you don't choose a high ... [Read more...]

GLMM Hell

July 7, 2011 | Daniel Hocking

I have been starting to analyze some data I have of repeated counts of salamanders from 5 plots over 4 years. I am trying to develop a predictive model of salamander nighttime surface activity as a function of weather variables. The repeated counting l...
[Read more...]

A simple ggplot2 scatterplot revisited

July 7, 2011 | Luke Miller

Rick Wicklin contacted me with a helpful suggestion for improving the data presentation method outlined in my  previous post on using ggplot2 to visualize some data. In the previous post I had plotted up a highly correlated set of points, showing the correspondence between maximum daily body temperatures of model ... [Read more...]

Twitter Math Puzzle and Solution

July 7, 2011 | John Myles White

Yesterday I posted a very simple math puzzle to Twitter that I found in Jonathan Baron’s book, Thinking and Deciding. The puzzle is the following: Show that every number of the form ABC,ABC is divisible by 13. The puzzle comes up in Baron’s book as an example of ... [Read more...]

R: calculations involving months

July 7, 2011 | nsaunders

Ask anyone how much time has elapsed since September last year and they’ll probably start counting on their fingers: “October, November…” and tell you “just over 9 months.” So, when faced as I was today with a data frame (named dates) like this: How to add a 7th column, with ... [Read more...]

Descriptive statistics, causal inference, and story time

July 7, 2011 | andrew

Dave Backus points me to this review by anthropologist Mike McGovern of two books by economist Paul Collier on the politics of economic development in Africa. My first reaction was that this was interesting but non-statistical so I’d have to either post it on the sister blog or wait ... [Read more...]

Use R!

July 7, 2011 | Bart Rogiers

In short: R is a free intuitive programming language that is used by practitioners in a plethora of academic disciplines. Therefore, it is on the cutting edge, and expanding rapidly. It creates stunning visuals, works seamlessly together with LaTeX, has really good online documentation and the community is unparalleled. [1, 2, 3, 4] A ... [Read more...]

Rcpp 0.9.5

July 6, 2011 | Thinking inside the box

A maintenance release version 0.9.5 of Rcpp is now on CRAN and in Debian. This release comprises a number of minor fixes, extensions as well as small additions to the documentation and examples which have accumulated since the last release in Apr... [Read more...]

Men with Hats

July 6, 2011 | ALT

Suppose N people (and their hats) attend a party (in the 1950s). For fun, the guests mix their hats in a pile at the center of the room, and each person picks a hat uniformly at random. What is the probability that nobody ends up with their own hat?E...
[Read more...]

rasterVis

July 6, 2011 | Oscar Perpiñán Lamigueiro

The raster package defines classes and methods for spatial raster data access and manipulation. The new rasterVis package complements raster providing a set of methods for enhanced visualization and interaction. It is now at CRAN. Several examples can ... [Read more...]
1 7 8 9 10 11

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)