## Not run:
# library(R2MLwiN)
# # NOTE: if MLwiN not saved in location R2MLwiN defaults to, specify path via:
# # options(MLwiN_path = 'path/to/MLwiN vX.XX/')
# # If using R2MLwiN via WINE, the path may look like this:
# # options(MLwiN_path = '/home/USERNAME/.wine/drive_c/Program Files (x86)/MLwiN vX.XX/')
#
# ## Example: tutorial
# data(tutorial, package = "R2MLwiN")
# (mymodel <- runMLwiN(normexam ~ 1 + standlrt + (1 + standlrt | school) + (1 | student),
# estoptions = list(EstM = 1, resi.store.levs = 2), data = tutorial))
#
# predLines(mymodel, xname = "standlrt", lev = 2, selected = c(30, 44, 53, 59),
# probs = c(0.025, 0.975))
# ## End(Not run)
Run the code above in your browser using DataLab