This repo provides a suite of helper functions for optional use with the devMSMs package. These functions assist the user with formatting long (formatLongData()
) and wide (formatWideData()
) data, imputing data with missing values (imputeData()
), and inspecting their data (inspectData()
) prior to using devMSMs.
Details on the implementation of these helper function can be found in the following Rmarkdown file and in the vignettes on the devMSMs website. A tutorial introduction the using marginal structural models can be found in the accompanying manuscript located here.