# Monthly Archives: November 2010

## The NYC Marathon

November 8, 2010
By

New York’s annual marathon took place yesterday. Watching a bit of it on television with my friends, I was struck by the much earlier starting time for women than men. Specifically, professional women started running yesterday at 9:10 AM, while professional men start running at 9:40 AM. (This information comes from the runner’s handbook.) I

## R Beginner’s Guide Book Update: Statistical Analysis with R Released

November 8, 2010
By

In the final days of October, my beginner's guide to R was released. The book's official title is Statistical Analysis with R and it can be found on the Packt Publishing website. The primary focus of Statistical Analysis with R is helping new users bec...

## A R wrapper for Google Prediction API

November 8, 2010
By

Since I got the chance to access to both Google Storage for Developers and Google Prediction API (more details here and here), I decided to create a simple wrapper (just 4 basic functions until now) to be capable to play with the Google Prediction API ...

## Le Monde puzzle [43]

November 7, 2010
By

Here is the puzzle in Le Monde I missed last week: Given a country with 6 airports and a local company with three destinations from each of the six airports, is it possible to find a circular trip with three intermediate stops from one of the airports? From all of the airports? One more airport

## Wetbulb Temperature

November 7, 2010
By

This google map display is just one of 230 GHCN stations that is located in the water. After finding  instances of this phenomena over and over, it seemed an easy thing to find and analyze all such cases in GHCN. The issue matters for a two reasons: In my temperature analysis program I use a

## Updating meteorological forecasts, part 1

November 7, 2010
By

As Mark Twain said "the art of prophecy is very difficult, especially about the future" (well, actually I am not sure Mark Twain was the  first one to say so, but if you're interested by that sentence, you can look here). I have been rather su...

## R is a cool image editor!

November 7, 2010
By

Here I present some functions I wrote to recreate some of the most common image effect available in all image editor.They require the library rimage.To load the image, use:y <- read.jpeg("path") To display the image, use:plot(y) Original image Sepia tone rgb2sepia <- function(img){ iRed <- img*255 iGreen <- img*255 iBlue <- img*255  oRed <- iRed * .393...

## Installing R packages

November 6, 2010
By

Part of the reason R has become so popular is the vast array of packages available at the cran and bioconductor repositories. In the last few years, the number of packages has grown exponentially! This is a short post giving steps on how to actually install R packages. Let’s suppose you want to install the

## Livin’ la Vida Poisson

November 5, 2010
By

Yes, I did just mix English, Spanish and French. And no, I living the “fishy” life, popular opinion to the contrary. Here’s the story. As someone who spends the majority of his time working online, with no oversight, I notice that I tend to drift a lot. I don’t play solitaire, or farm for virtual

## The bms Function Explained

November 5, 2010
By

This text 'pedagocially' explains how the bms function works code-wise and is intended for people who prefer to program customized adjustments of the bms package. bms is the workhorse function to do the sampling part of Bayesian Model Averaging in the...