Blog Archives

Using R for classification in small-N studies

July 14, 2012
By

Rick Davies just wrote an interesting post which combined thoughts on QCA (and multi-valued QCA or mvQCA) and classification trees with thoughts on INUS causation and classification trees. The question was something like: how can we look at...

Read more »

Simple network diagrams in R

June 12, 2012
By
Simple network diagrams in R

Why study networks? Development and aid projects these days are more and more often focussing on supporting networks, so tools to analyse networks are always welcome. In this post I am going to present a very easy-to-use package for the stat...

Read more »

Heatmap tables done better, in Sweave and latex

July 10, 2011
By
Heatmap tables done better, in Sweave and latex

  I wrote before about using heatmap tables to combine the strengths of tables and graphics for nominal data.Here is a neat approach using Sweave and latex to produce an effect like in the picture.This latex code is self-contain...

Read more »

What helped the the Egyptian revolution the most: Twitter, or the government switching it off?

April 21, 2011
By

I have been really interested in the "meme" that the Egyptian revolution was "the first social media revolution" and have tolerated infographics that correlate specific twitter activity with events in Egypt beyond. And I ...

Read more »

Automatic pdf generation and versioning with odfWeave

January 25, 2011
By

odfWeave is a great tool for your reproducible research workflow, using R to produce reproducible OpenOffice reports. But a few pieces are lacking. – It is a bit of a drag, every time you want to make a pdf, to have to find and open yo...

Read more »

Stop your figures jumping about in odfWeave

January 21, 2011
By

If you use odfWeave to produce figures, you will probably find they jump about when scrolling through the document – because the figures and figure frames are anchored in openoffice to the paragraph and not “as character”. ...

Read more »

How do you explain reproducible research to clients?

January 21, 2011
By

Most of the statistics work I do now is reproducible research - this can offer a big advantage for clients but of course that doesn't necessarily mean they realise it ... Below is a text we have been pasting in at the bottom of the source d...

Read more »

Heatmap tables

January 7, 2011
By
Heatmap tables

I blogged earlier (http://socialdatablog.com/what-is-wrong-with-this-graph) about the well-known risks of implying a continuous data scale in a graph where there isn't one. I just produced this alternative in the form of a heatmap table...

Read more »

My first Reproducible Research Compendium

December 14, 2010
By

I have just completed my first Reproducible Research Compendium "Analysis of the combined survey datasets from the American Red Cross Tsunami Recovery Program Psycho-Social Project (adult community respondents)". It is basically all the repo...

Read more »

Keeping R libraries in sync between different computers using Dropbox

December 11, 2010
By

We have a few computers including laptops in our network which all use R (r-project.org) for statistics. We use Dropbox to keep all our files in sync and we are all on ubuntu. The problem was that we wanted to keep our R installations in sy...

Read more »