# Causal Analysis of Observational Time-to-Event Data

## Documentation for package ‘TrialEmulation’ version 0.0.3.2

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

## Help Pages

case_control_sampling_trials | Case-control sampling from extended data
data_preparation | Prepare Sequence of Trial Data
extract_baseline | Extract Baseline Observations
initiators | Initiators Analysis
predict.TE_msm | Predict Cumulative Incidence with Confidence Intervals
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 MSM Model Object
trial_example | Example of longitudinal data for randomised trial emulation
trial_msm | Fit the Marginal Structural Model for the Sequence of Trials
vignette_switch_data | Example of expanded longitudinal data for randomised trial emulation
weights.TE_data_prep_dt | Extract Weights
weights.TE_data_prep_sep | Extract Weights