Learn R Programming

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

R2MLwiN (version 0.1-5)

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

License

GPL (>= 2)

Maintainer

Zhengzheng Zhang

Last Published

March 5th, 2013

Functions in R2MLwiN (0.1-5)

Formula.translate

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

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

S4 class: mlwinfitMCMC
Untoggle

Converts a categorical variable into several separate binary variables
R2MLwiN-package

R2MLwiN: Running MLwiN from within R
trajectories

Plots MCMC chain trajectories
ws2foreign

Converts data from one format to another within MLwiN
runMLwiN

Calls MLwiN from R
MacroScript1

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

S4 class: mlwinfitIGLS
double2singlePrecision

Converts numerical values from double precision to single precision.
predLines1

Draws predicted lines using model estimates
predLines2

Draws predicted lines using chains from a model estimated using MCMC
caterpillarR

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

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

Draws a caterpillar plot (in MLwiN style).
mlwin2bugs

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

Draws a sixway plot of MCMC diagnostics.
prior2macro

Translates informative prior information into a concise MLwiN macro.