Blog Archives

Working with R2MLwiN Part 2

February 19, 2013
By

Specifying the modelThis is the second part of a series of notes demonstrating use of the R package, R2MLwiN, an R command interface to the multilevel modelling software package, MLwiN (see the MLwiN site for getting access to MLwiN). The first set of notes showed how to get started with R2MLwiN. In these notes,...

Read more »

Scatterplot with marginal boxplots

February 3, 2013
By
Scatterplot with marginal boxplots

Using R and ggplot2 to draw a scatterplot with the two marginal boxplotsDrawing a scatterplot with the marginal boxplots (or marginal histograms or marginal density plots) has always been a bit tricky (well for me anyway). The approach I take here is, first, to draw the three separate plots using ggplot2:the scatterplot;the horizontal boxplot to appear in the...

Read more »

Working with R2MLwiN Part 1

January 24, 2013
By
Working with R2MLwiN Part 1

Getting started with the R2MLwiN packageWith the release of the R2MLwiN package late 2012, R users have access to another software package for running Bayesian models using Markov chain Monte Carlo (MCMC) methods. R2MLwiN is an R command interface to MLwiN, allowing users to fit multilevel models using MLwiN from within the R environment.To use R2MLwiN, MLwiN needs to...

Read more »

Getting Access data into R

January 9, 2013
By

R and SQLite: Part 1

November 18, 2012
By

Creating SQLite databases from R