Learn R Programming

⚠️There's a newer version (0.8-10) of this package.Take me there.

R2MLwiN (version 0.1-8)

Running MLwiN from within R

Description

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.

Copy Link

Version

Install

install.packages('R2MLwiN')

Monthly Downloads

219

Version

0.1-8

License

GPL (>= 2)

Maintainer

Zhengzheng Zhang

Last Published

January 29th, 2014

Functions in R2MLwiN (0.1-8)

MacroScript1

Writes MLwiN macros to fit models using the iterative generalized least squares (IGLS) algorithm
bang1

Sub-sample from the 1989 Bangladesh Fertility Survey
sixway

Draws a sixway plot of MCMC diagnostics.
xc

Examination scores of 16-year olds in Fife, Scotland.
tutorial

Exam results for six inner London Education Authorities
double2singlePrecision

Converts numerical values from double precision to single precision.
mlwinfitIGLS-class

S4 class: mlwinfitIGLS
Untoggle

Converts a categorical variable into several separate binary variables
wage1

Simulated dataset of office workers' salay and other employment details.
predCurves

Draws predicted curves (lines) using estimates from the fixed part of a fitted model.
ws2foreign

Converts data from one format to another within MLwiN
Formula.translate

An internal function to translate an R formula from a character string into an R list object.
caterpillar

Draws a caterpillar plot (in MLwiN style).
trajectories

Plots MCMC chain trajectories
MacroScript2

Writes MLwiN macros to fit models using Markov chain Monte Carlo (MCMC) methods
predLines

Draws predicted lines using a fitted model object
runMLwiN

Calls MLwiN from R
prior2macro

Translates informative prior information into a concise MLwiN macro.
caterpillarR

Draws caterpillar plots of the residuals at a particular level of a multilevel model.
mlwin2bugs

This function captures output files from MLwiN for estimation in WinBUGS/OpenBUGS.
R2MLwiN-package

R2MLwiN: Running MLwiN from within R
jspmix1

Dataset of pupils' test scores, a subset of the Junior School Project.
mlwinfitMCMC-class

S4 class: mlwinfitMCMC