Man pages for simulab
Simulates a Wide Variety of Data Shapes, Sizes and Distributions

apply_batchApply a function across simulation results
apply_conditionsApply conditional generation rules
as.data.frame.simulab_simConvert a simulation component to a tidy data frame
as.data.frame.simulab_tnaTidy tables of a simulated transition network
as_igraphConvert tidy network data to an igraph object
assess_tna_reliabilityAssess split-half TNA reliability
assign_stepped_wedgeAssign a stepped-wedge treatment schedule
assign_treatmentAssign randomized treatment groups
as_tna_modelConvert a tidy simulab TNA result to a native tna model
augment_correlatedAdd correlated variables to existing data
augment_densityAdd an empirical-density variable to existing data
augment_factorialAdd factorial conditions to existing rows
augment_markovAdd a Markov chain to each input row
augment_studyAdd declaratively specified variables to existing data
augment_survivalAdd one or more survival processes to data
augment_syntheticAdd jointly resampled source variables to existing data
block_correlationCreate clustered-period correlation structures
bootstrap_tnaBootstrap a TNA model
calibrate_distributionConvert mean/dispersion parameterizations
calibrate_iccCalibrate random-effect variance for a target ICC
calibrate_logisticCalibrate logistic coefficients to prevalence and treatment...
calibrate_momentsSolve a distribution's parameters from a target mean and...
calibrate_survivalCalibrate a Weibull survival curve to target points
categorical_formulaConstruct a categorical probability formula
combine_competing_risksCombine competing event times
compare_centralitiesCompare node centralities between two networks
compare_networksCompare two weighted networks
compare_tna_modelsCompare multiple TNA estimators on the same sequences
componentsList the tidy tables available from a simulation
correlation_structureCreate a tidy correlation structure
cross_validate_tnaCross-validate TNA estimators
define_conditionDefine a conditional data-generation rule
define_conditionsCombine conditional data-generation rules into a...
define_missingnessDefine missingness for one variable
define_missingnessesCombine missingness definitions into a specification
define_survivalDefine a survival process
define_survivalsCombine survival definitions into a specification
define_variableDefine one simulated variable
define_variablesCombine variable definitions into a specification
encode_factorsEncode categorical variables
encode_sequencesOne-hot encode long-form sequence states
evaluate_edge_recoveryEvaluate edge recovery against a known network
evaluate_tna_estimationEvaluate TNA estimation against generated truth
expand_clustersExpand cluster-level rows into unit-level rows
expand_periodsExpand observations across periods
factorial_designCreate a full factorial design
fit_tnaFit a temporal network analysis model
fit_tna_batchFit TNA models to multiple datasets
generate_transition_systemGenerate a transition system
global_name_regionsList global-name regions
global_namesList the global-name catalogue
inject_missingnessInject MCAR, MAR, or MNAR missingness
learning_state_categoriesList learning-state categories
learning_statesList categorized learning states for sequence simulation
linear_formulaConstruct a linear simulation formula
list_distributionsList the distributions a specification may use
list_simulatorsList public simulation and generation verbs
merge_studiesMerge study data by identifiers
missingness_matrixGenerate a missingness mask
mixture_formulaConstruct a mixture simulation formula
network_centralityCalculate tidy network centralities
observed_dataApply a missingness mask to complete data
observe_treatmentGenerate observational treatment or exposure groups
parameter_gridGenerate parameter combinations
print.simulab_simPrint a simulation result
print.simulab_tnaPrint a simulated transition network
read_definitionsRead variable definitions from a CSV file
repeat_variablesDefine repeated variables
run_simulation_scenarioRun a built-in simulation scenario
sample_global_namesSample globally diverse names
sample_learning_statesSample learning states reproducibly
sample_tnaFit TNA to a sequence sample
scenario_gridBuild a replicated scenario grid
select_variablesSelect or remove study variables
simulab-packagesimulab: Unified simulation of statistical and study data
simulate_anovaSimulate a one-way group design
simulate_bipartite_networkSimulate a bipartite network
simulate_clustersSimulate Gaussian clusters
simulate_copulaSimulate correlated general-distribution variables with a...
simulate_correlatedSimulate correlated Gaussian variables
simulate_correlationSimulate a correlation design
simulate_dataSimulate data through the unified catalogue
simulate_densitySimulate from an empirical kernel density
simulate_edge_listSimulate a tidy network edge list
simulate_event_logSimulate grouped educational event logs
simulate_factorsSimulate a common-factor model
simulate_group_sequencesSimulate grouped actor sequences
simulate_group_tnaSimulate sequences and fit a grouped TNA model
simulate_growthSimulate longitudinal growth trajectories
simulate_hmmSimulate a hidden Markov model
simulate_irtSimulate item-response data
simulate_lcaSimulate a latent class model
simulate_longitudinalSimulate a multivariate longitudinal VAR process
simulate_lpaSimulate a latent profile model
simulate_markovSimulate Markov chains
simulate_ml_lpaSimulate a two-level latent profile model
simulate_multilevelSimulate a two-level Gaussian model
simulate_multiplex_networkSimulate a multiplex network
simulate_networkSimulate a network from common graph models
simulate_network_batchesSimulate repeated networks
simulate_network_matrixSimulate a network matrix
simulate_ordinalSimulate correlated ordinal variables
simulate_predictionSimulate a prediction design with continuous and categorical...
simulate_proportional_survivalSimulate proportional-hazards survival data with calibrated...
simulate_regressionSimulate a linear regression design
simulate_scenariosRun a simulator across a scenario grid
simulate_sequence_batchesSimulate repeated sequence datasets
simulate_sequence_clustersSimulate sequences from a mixture of transition systems
simulate_sequencesSimulate basic or perturbed state sequences
simulate_splineAdd a spline-generated variable
simulate_studySimulate a declaratively specified study
simulate_survivalSimulate baseline data with survival outcomes
simulate_syntheticSimulate row-bootstrap synthetic data
simulate_temporal_networkSimulate a temporal network as edge-activity spells
simulate_tnaSimulate one transition network
simulate_tna_batchesSimulate and fit repeated TNA networks
simulate_tna_networkSimulate a grouped TNA transition network
simulate_ttestSimulate a two-group design
simulate_until_eventSimulate events and retain records through the nth event
simulation_scenariosList built-in simulation scenarios
spline_basisCompute tidy B-spline basis functions
spline_curvesCompute one or more tidy spline curves
summarize_networksSummarize multiple networks
summarize_simulationsSummarize simulated numeric variables
summarize_transitionsCount observed transitions in sequence data
summary.simulab_simSummarize simulated variables
survival_curveCompute a tidy Weibull survival curve
trim_eventsTrim longitudinal records at an event occurrence
update_definitionUpdate one variable definition
validate_recoveryCompare recovered estimates with known simulation truth
write_simulationExport a simulation component
simulab documentation built on Oct. 15, 2026, 5:08 p.m.