Learn R Programming

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

R2MLwiN (version 0.1-3)

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-3

License

GPL (>= 2)

Maintainer

Zhengzheng Zhang

Last Published

January 16th, 2013

Functions in R2MLwiN (0.1-3)

Formula.translate

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

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

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

Converts a categorical variable into several separate binary variables
MacroScript2

Writes MLwiN macros to fit models using Markov chain Monte Carlo (MCMC) methods
mlwinfitIGLS-class

S4 class: mlwinfitIGLS
R2MLwiN-package

R2MLwiN: Running MLwiN from within R
predLines1

Draws predicted lines using model estimates
double2singlePrecision

Converts numerical values from double precision to single precision.
sixway

Draws a sixway plot of MCMC diagnostics.
trajectories

Plots MCMC chain trajectories
mlwinfitMCMC-class

S4 class: mlwinfitMCMC
caterpillar

Draws a caterpillar plot (in MLwiN style).
ws2foreign

Converts data from one format to another within MLwiN
prior2macro

Translates informative prior information into a concise MLwiN macro.
runMLwiN

Calls MLwiN from R
predLines3

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

This function captures output files from MLwiN for estimation in WinBUGS/OpenBUGS.
predLines2

Draws predicted lines using chains from a model estimated using MCMC