Examples using R2MLwiN


MLwiN User Manual


These R-files and Rout files replicate the analyses reported in the MLwiN User Manual (PDF, 3,993kB).‌ Rasbash, J., Steele, F., Browne, W.J. and Goldstein, H. (2012) Centre for Multilevel Modelling, University of Bristol.

Note that we have not created script files for Chapters 1, 8 or 19 of the manual as no models are fitted in those chapters. We have also not yet created the script file for Chapter 17.


MLwiN MCMC Manual


These R-files and Rout files replicate the analyses reported in the MLwiN MCMC Manual (PDF, 6,738kB). Browne, W.J. (2012) Centre for Multilevel Modelling, University of Bristol.


 Journal article for R2MLwiN


The following R and Rout files replicate the analyses in Zhengzheng Zhang, Richard M. A. Parker, Christopher M. J. Charlton, George Leckie, William J. Browne (2016). R2MLwiN: A Package to Run MLwiN from within R. Journal of Statistical Software, 72(10), 1-43.


 Journal article for runmlwin


The following R and Rout files are a translation into R of the analyses in Leckie, G. and Charlton, C. (2013). runmlwin - A Program to Run the MLwiN Multilevel Modelling Software from within StataJournal of Statistical Software, 52 (11),1-40.