R2MLwiN is an R command interface to the MLwiN multilevel modelling software package, allowing users to fit multilevel models using MLwiN from within the R environment. It is designed to be used with versions of MLwiN from v2.25 onwards although some features will work with earlier versions.
Both MLwiN and R are required to use R2MLwiN. MLwiN is free to UK academics. A fully functional 30-day free version of MLwiN is available to all other users.
To install R2MLwiN, type the following at the R command line:
install.packages("R2MLwiN", repos="http://cran.r-project.org")
To see the documentation for R2MLwiN, type the following at the R command line:
library(R2MLwiN)
help(package=R2MLwiN)
We have provided R scripts which allow you to replicate all the analyses reported in the MCMC MLwiN Manual using R2MLwiN. MoreĀ >>
If you use R2MLwiN in your work, please cite R2MLwiN. We are happy to list all publications that cite R2MLwiN on this web site. MoreĀ >>
We are very grateful to colleagues at the Centre for Multilevel Modelling and the University of Bristol for their useful comments. This work is funded under the e-STAT node (Grant: RES-149-25-1084) as part of the ESRC Digital Social Research programme.