Simulation of Longitudinal Data

Simulation and visualization of complex models for longitudinal data. The models are encoded using the model coding language 'Mlxtran', automatically converted into C++ codes, compiled on the fly and linked to R using the 'Rcpp' package. That allows one to implement very easily complex ODE-based models and complex statistical models, including mixed effects models, for continuous, count, categorical, and time-to-event data.

A toolbox for the simulation and visualization of mixed effects models. See this page for more information.


To use mlxR you first need to install mlxLibrary from here

Then you can install the development version from github:

install_github("MarcLavielle/mlxR" )


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.


3.2.0 by Marc Lavielle, 5 months ago

Report a bug at

Browse source code at

Authors: Marc Lavielle [aut, cre], Raphael Kuate [ctb]

Documentation:   PDF Manual  

BSD_2_clause + file LICENSE license

Imports XML, Rcpp, tools, methods, graphics, grDevices, utils, stats, tcltk

Depends on ggplot2

Suggests reshape2, gridExtra, shiny

See at CRAN