# Causal Analysis of Observational Time-to-Event Data

## Documentation for package ‘TrialEmulation’ version 0.0.3.8

- DESCRIPTION file.
- User guides, package vignettes and other documentation.
- Package NEWS.

## Help Pages

case_control_sampling_trials | Case-control sampling of expanded data for the sequence of emulated trials
data_preparation | Prepare data for the sequence of emulated target trials
initiators | A wrapper function to perform data preparation and model fitting in a sequence of emulated target trials
predict.TE_msm | Predict marginal cumulative incidences with confidence intervals for a target trial population
print.TE_weight_summary | Print a weight summary object
summary.TE_data_prep | Summary methods
summary.TE_data_prep_dt | Summary methods
summary.TE_data_prep_sep | Summary methods
summary.TE_msm | Summary methods
summary.TE_robust | Summary methods
te_data_ex | Example of a prepared data object
te_model_ex | Example of a fitted marginal structural model object
trial_example | Example of longitudinal data for sequential trial emulation
trial_msm | Fit the marginal structural model for the sequence of emulated trials
vignette_switch_data | Example of expanded longitudinal data for sequential trial emulation