Blog Archives

Convert IP addresses to geolocation, latitude and longitude etc etc

May 29, 2013
By
Convert IP addresses to geolocation, latitude and longitude etc etc

Whoa! Now this is cool. It turns out there is a database at freegeoip.net which you can query for the location of a particular IP address. And as it has a neat little API for batches of IPs, you can … Continue reading →

Read more »

Survival of the sweetest

December 12, 2012
By
Survival of the sweetest

On receiving an advent calendar from one of our course directors, I suggested we could track each other’s chocolate consumption in a survival analysis and establish who was eating significantly more chocs. Strangely, everybody refused to take part, so I … Continue reading →

Read more »

Multidimensional scaling of REM album covers: FlagSpace revisited

December 11, 2012
By
Multidimensional scaling of REM album covers: FlagSpace revisited

By way of following up on an old in-joke, and doing something constructive because I couldn’t get to sleep, I thought I would revisit the Flag Space plot that I blogged about a while back and learn how to do it. … Continue reading →

Read more »

Exporting data from R into WinBUGS’s “R/S-plus list format”

November 27, 2012
By
Exporting data from R into WinBUGS’s “R/S-plus list format”

Users of the world’s favourite Bayesian analysis software WinBUGS will recognise the strange format in which data is supplied inside the GUI, generally in a text file looking something like this: list(x=c(1,2,3,4,5,6),y=c(4,8,2,6,9,9)) This is of course an R (or strictly … Continue reading →

Read more »

Reverse engineering the SAS data file format

November 6, 2012
By
Reverse engineering the SAS data file format

I think it’s rather marvellous that a few expert coders are working on dispelling the cloud of mystery around the proprietary file format used by SAS software. Essentially, saving your data in a SAS format (with a name like mydata.sas7bdat) … Continue reading →

Read more »

Use little images as the markers in a scatterplot

October 17, 2012
By
Use little images as the markers in a scatterplot

Just saw this post on R-bloggers which has got me excited. I’ve thought about this many times but never looked into it so I can’t honestly say whether this is the first stats software option to do this, despite my … Continue reading →

Read more »

ggplot2 primer in 10 minutes

October 15, 2012
By
ggplot2 primer in 10 minutes

Here’s a nice presentation from Christophe Ladroue which really does give an insight into the R package ggplot2 if you’ve never used it before. Each line of code can be clicked on to reveal the corresponding graph!

Read more »

Presentation: Animated graphs in R

October 15, 2012
By
Presentation: Animated graphs in R

As animatedgraphs.co.uk takes shape, and following the great reception it got at the Stata Users Group in London in September, I’m pleased to announce I will be giving the same presentation – for R this time – at the LondonR … Continue reading →

Read more »

SPSS and R day in York

September 19, 2012
By
SPSS and R day in York

On 2 November there are some introductory health-focussed training sessions on SPSS and R software going on in York: Two sets of two half-day parallel workshops and two tutorial sessions are provisionally planned to be held at the Alcuin Research … Continue reading →

Read more »

Data analysis using R – course in Essex

August 24, 2012
By
Data analysis using R – course in Essex

This course is running 1-5 October at the University of Essex. There doesn’t seem to be a website but you register by writing to [email protected] Here’s what they say in their e-mail: Lecturers: Dr Werner Adler (University of Erlangen-Nuremberg; Co-author … Continue reading →

Read more »