simulab: Simulates a Wide Variety of Data Shapes, Sizes and Distributions

Generates a wide variety of data, in different shapes, sample sizes, distributions and parameters. The parameters are either drawn at random or set in advance, and in both cases they are stored with the data, so they are known and their recovery can be tested. Generators cover declared variables with treatment assignment and missing values, correlated and clustered data, latent profile, latent class, factor and item response models, longitudinal and multilevel processes, survival times with competing risks, sequences of states, and static, bipartite, multiplex, temporal and transition networks. Every generator returns batches of reproducible data sets for the evaluation of statistical methods, the testing of models and software, and teaching; simulated transition networks are native 'tna' models.

Package details

AuthorMohammed Saqr [aut, cre, cph] (ORCID: <https://orcid.org/0000-0001-5881-3109>), Sonsoles López-Pernas [aut, cph] (ORCID: <https://orcid.org/0000-0002-9621-1392>)
MaintainerMohammed Saqr <saqr@saqr.me>
LicenseMIT + file LICENSE
Version0.4.10
URL https://pak.dynasite.org/simulab/  https://github.com/mohsaqr/simulab 
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("simulab")

Try the simulab package in your browser

Any scripts or data that you put into this service are public.

simulab documentation built on Oct. 15, 2026, 5:08 p.m.