Rdocumentation
powered by
Learn R Programming
⚠️
There's a newer version (0.8-9) of this package.
Take me there.
R2MLwiN (version 0.8-1)
Running 'MLwiN' from Within R
Description
An R command interface to the 'MLwiN' multilevel modelling software package.
Copy Link
Link to current version
Version
Version
0.8-9
0.8-8
0.8-7
0.8-6
0.8-5
0.8-4
0.8-3
0.8-2
0.8-1
0.8-0
0.2-1
0.2-0
0.1-9
0.1-8
0.1-7
0.1-6
0.1-5
0.1-4
0.1-3
0.1-2
0.1-1
0.1-0
Install
install.packages('R2MLwiN')
Monthly Downloads
285
Version
0.8-1
License
GPL (>= 2)
Homepage
http://www.bristol.ac.uk/cmm/software/r2mlwin/
Maintainer
Zhengzheng Zhang
Last Published
April 21st, 2015
Functions in R2MLwiN (0.8-1)
Search all functions
Untoggle
Converts a categorical variable into several separate binary variables
bang1
Sub-sample from the 1989 Bangladesh Fertility Survey
predCurves
Draws predicted curves (lines) using estimates from the fixed part of a fitted model.
caterpillar
Draws a caterpillar plot (in MLwiN style).
double2singlePrecision
Converts numerical values from double precision to single precision.
bes83
Subsample from British Election Study, '83.
deviance,mlwinfitIGLS-method
Returns the deviance from "mlwinfitIGLS" objects.
mlwin2bugs
This function captures output files from MLwiN for estimation in WinBUGS/OpenBUGS.
tutorial
Exam results for six inner London Education Authorities
Formula.translate
An internal function to translate an R formula into an R list object.
jspmix1
Dataset of pupils' test scores, a subset of the Junior School Project.
coef,mlwinfitMCMC-method
Extract the coefficient vector from "mlwinfitMCMC" objects
nobs,mlwinfitMCMC-method
Returns the number of used observations from "mlwinfitMCMC" objects.
residuals,mlwinfitIGLS-method
Returns the residual data from "mlwinfitIGLS" objects.
ws2foreign
Converts data from one format to another within MLwiN
gcsecomp1
Pupils' marks from GCSE exams (UK, 1989); complete cases only.
residuals,mlwinfitMCMC-method
Returns the residual data from "mlwinfitMCMC" objects.
rats
Weights of 30 rats, measured weekly over 5 weeks.
update,mlwinfitMCMC-method
Update "mlwinfitMCMC" objects
xc
Examination scores of 16-year olds in Fife, Scotland.
summary,mlwinfitMCMC-method
Summarize "mlwinfitMCMC" objects
BD
Calculates Brooks-Draper diagnostic
sixway
Draws a sixway plot of MCMC diagnostics.
update,mlwinfitIGLS-method
Update "mlwinfitIGLS" objects
caterpillarR
Draws caterpillar plots of the residuals from a mlwinfitIGLS-class or mlwinfitMCMC-class object, at a chosen level of the multilevel model.
prior2macro
Translates informative prior information into a concise MLwiN macro.
df.residual,mlwinfitIGLS-method
Returns the residual degrees-of-freedom extracted from "mlwinfitIGLS" objects.
R2MLwiN
Running MLwiN from within R
vcov,mlwinfitIGLS-method
Extract the approximate variance-covariance matrix from "mlwinfitIGLS" objects
xc1
Examination scores of 16-year olds in Fife, Scotland.
wage1
Simulated dataset of office workers' salary and other employment details.
[,mlwinfitIGLS,ANY,ANY,ANY-method
Extract or Replace parts of "mlwinfitIGLS" objects
mmmec
EC data on UV radiation exposure & malignant melanoma.
logLik,mlwinfitIGLS-method
Returns the log-likelihood from "mlwinfitIGLS" objects.
mlwinfitMCMC-class
An S4 class that stores the outputs of the fitted MCMC model.
lips1
Lips data
bang
Sub-sample from the 1989 Bangladesh Fertility Survey (see Huq & Cleveland, 1990)
[,mlwinfitMCMC,ANY,ANY,ANY-method
Extract or Replace parts of "mlwinfitMCMC" objects
formula,mlwinfitMCMC-method
"mlwinfitMCMC" model formula
vcov,mlwinfitMCMC-method
Extract the approximate variance-covariance matrix from "mlwinfitMCMC" objects
gcsemv1
Pupils' marks from GCSE exams (UK, 1989).
fitted,mlwinfitIGLS-method
Returns the fitted values from "mlwinfitIGLS" objects.
runMLwiN
Calls MLwiN from R.
predLines
Draws predicted lines using a fitted model object
hungary1
Hungarian component of 2nd International Science Survey, '84; see Goldstein 2003
write.MCMC
Writes MLwiN macros to fit models using Markov chain Monte Carlo (MCMC) methods
write.IGLS
Writes MLwiN macros to fit models using the iterative generalized least squares (IGLS) algorithm.
diag1
Examination dataset
df2matrix
Translates a data.frame, formatted for use in multiple membership modelling in MLwiN, to a matrix.
matrix2df
For multiple membership models, translates matrix into a data.frame formatted for MLwiN
nobs,mlwinfitIGLS-method
Returns the number of used observations from "mlwinfitIGLS" objects.
predict,mlwinfitMCMC-method
Returns the predicted data from "mlwinfitMCMC" objects.
trajectories
Plots MCMC chain trajectories
fitted,mlwinfitMCMC-method
Returns the fitted values from "mlwinfitMCMC" objects.
Formula.translate.compat
An internal function, allowing back-compatibility, which translates a model formula from a formula object or character string into an R list object.
MCSE
Calculates the estimated Monte Carlo standard error (MCSE)
alevchem
Chemistry A-level results from one exam board
height
Height data.
summary,mlwinfitIGLS-method
Summarize "mlwinfitIGLS" objects
formula,mlwinfitIGLS-method
"mlwinfitIGLS" model formula
predict,mlwinfitIGLS-method
Returns the predicted data from "mlwinfitIGLS" objects.
reading1
Students' reading attainment in inner London infant schools.
coef,mlwinfitIGLS-method
Extract the coefficient vector from "mlwinfitIGLS" objects
mlwinfitIGLS-class
An S4 class that stores the outputs of the fitted IGLS model.