This project contains R code for implementation of the simulation study described in the following paper:
Ruth Keogh, Shaun Seaman, Jon Michael Gran, Stijn Vansteelandt. Simulating longitudinal data from marginal structural models using the additive hazards model. Biometrical Journal 2021; 63 (7): 1526-1541. https://doi.org/10.1002/bimj.202000040
See also: https://arxiv.org/abs/2002.03678