Posts Tagged ‘ Informatique / R ’

Do you still have time to sleep ?

June 11, 2012
By
Do you still have time to sleep ?

Last week, @3wen (Ewen) helped me to write nice R functions to extract tweets in R and build datasets containing a lot of information. I've tried a couple of time on my own. Once on tweet contents, but it was not convincing and once on the activit...

Read more »

French dataset: population and GPS coordinates

May 24, 2012
By
French dataset: population and GPS coordinates

A short post today based on recent work by @3wen (Ewen Galic, graduate Student in Rennes, spending a year in Montreal). Since we were working on a detailed French dataset (per commune), we needed a dataset containing a list all communes, with popu...

Read more »

Maps with R, and polygon boundaries

December 21, 2011
By
Maps with R, and polygon boundaries

With R, it is extremely easy to draw maps. Let us start with something simple, like French regions. Baptiste mentioned on his blog that shapefiles can be downloaded from http://ign.fr/ website. Hence, if you extract the zip file, it is possible to ...

Read more »

Playing with robots

May 3, 2011
By
Playing with robots

My son would be extremely proud if I tell him I can spend hours building robots. Well, my robots are not as fancy as Dr Tenma's, but they usually do what I ask them to do. For instance, it is extremely simple to build a robot with R, to extract dat...

Read more »

Maps with R, part… n+1

January 11, 2011
By
Maps with R, part… n+1

Following the idea posted on James Cheshire's blog (here), I have tried to play a little bit with R and Google. And it works ! Consider for instance life expectancy at birth (that can be found - and downloaded - here). Using the following code, it ...

Read more »

Generating a quasi Poisson distribution, version 2

November 10, 2010
By
Generating a quasi Poisson distribution, version 2

Here and there, I mentioned two codes to generated quasiPoisson random variables. And in both of them, the negative binomial approximation seems to be wrong. Recall that the negative binomial distribution is where and in R, a negative binomial di...

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 »