Monthly Archives: November 2010

Updating meteorological forecasts, part 1

November 7, 2010
By
Updating meteorological forecasts, part 1

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...

Read more »

R is a cool image editor!

November 7, 2010
By
R is a cool image editor!

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 imageSepia tonergb2sepia <- function(img){ iRed <- img*255 iGreen <- img*255 iBlue <- img*255  oRed <- iRed * .393...

Read more »

R is a cool image editor!

November 7, 2010
By
R is a cool image editor!

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 imageSepia tone rgb2sepia <- function(img){ iRed <- img*255 iGreen <- img*255 iBlue <- img*255  oRed <- iRed * .393...

Read more »

Installing R packages

November 6, 2010
By
Installing R packages

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

Read more »

Livin’ la Vida Poisson

November 5, 2010
By
Livin’ la Vida Poisson

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

Read more »

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...

Read more »

Because it’s Friday: Epidemiology in 1632

November 5, 2010
By
Because it’s Friday: Epidemiology in 1632

I first got interested in epidemiology when I saw the famous John Snow chart (in a Tufte book, I think?) which pinpointed the pump which caused the 1854 cholera outbreak in London. For some reason I'd gotten the impression that this was essentially the birth of epidemiology as a discipline, but it's actually been around a lot longer than...

Read more »

ACM Data Mining Camp 3

November 5, 2010
By

The San Francisco Bay Area chapter of the ACM is will hold its third data mining camp next Saturday (November 13) at the Ebay campus in San José. Like the previous camps, this will be a one-day "unconference"-style event, with an agenda developed ad-hoc on the day according to the interests of the attendee. With data scientists from the...

Read more »

2010 On Track to Being 2nd Warmest Year Since 1880

November 5, 2010
By
2010 On Track to Being 2nd Warmest Year Since 1880

In this post I present a 5 panel trend charts which show the year-to-date  anomaly trends for the 5 major global temperature anomaly series and a table that shows how  2010 YTD ranks over the entire record for each series. … Continue reading &#...

Read more »

Pretty R code in the blog

November 5, 2010
By
Pretty R code in the blog

David Smith (alias @revodavid, see also on the Revolutions blog, here) pointed out that my R code was not easy to read (not only due to my computing skills, but mainly because of the typography I use). He suggested that I use the Pretty R tool (her...

Read more »