Package: trajmsm 0.1.3
Awa Diop
trajmsm: Marginal Structural Models with Latent Class Growth Analysis of Treatment Trajectories
Implements marginal structural models combined with a latent class growth analysis framework for assessing the causal effect of treatment trajectories. Based on the approach described in "Marginal Structural Models with Latent Class Growth Analysis of Treatment Trajectories" Diop, A., Sirois, C., Guertin, J.R., Schnitzer, M.E., Candas, B., Cossette, B., Poirier, P., Brophy, J., Mésidor, M., Blais, C. and Hamel, D., (2023) <doi:10.1177/09622802231202384>.
Authors:
trajmsm_0.1.3.tar.gz
trajmsm_0.1.3.tar.gz(r-4.5-noble)trajmsm_0.1.3.tar.gz(r-4.4-noble)
trajmsm_0.1.3.tgz(r-4.4-emscripten)trajmsm_0.1.3.tgz(r-4.3-emscripten)
trajmsm.pdf |trajmsm.html✨
trajmsm/json (API)
# Install 'trajmsm' in R: |
install.packages('trajmsm', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/awamaeva/r-package-trajmsm/issues
Last updated 3 months agofrom:d2c730834f. Checks:OK: 2. Indexed: no.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Dec 05 2024 |
R-4.5-linux | OK | Dec 05 2024 |
Exports:build_trajgendatagformulaggtrajinverse_probability_weightingpltmlepredict_trajsplit_datatrajhrmsm_gformtrajhrmsm_ipwtrajhrmsm_pltmletrajmsm_gformtrajmsm_ipwtrajmsm_pltmle
Dependencies:classclicolorspacee1071fansifarverflexmixggplot2gluegtableisobandlabelinglatticelifecyclemagrittrMASSMatrixmgcvmodeltoolsmunsellnlmennetpillarpkgconfigproxyR6RColorBrewerrlangsandwichscalessurvivaltibbleutf8vctrsviridisLitewithrzoo
Readme and manuals
Help Manual
Help page | Topics |
---|---|
Wrapper for flexmix | build_traj |
Generate data trajectories for MSM | gendata |
Counterfactual means via G-Formula | gformula |
ggplot Trajectory | ggtraj |
Inverse Probability Weighting | inverse_probability_weighting |
Counterfactual means for a Pooled LTMLE | pltmle |
Predict trajectory groups for deterministic treatment regimes | predict_traj |
Split observed data into multiple subsets | split_data |
History Restricted MSM and Latent Class of Growth Analysis estimated with G-formula. | trajhrmsm_gform |
History Restricted MSM and Latent Class of Growth Analysis estimated with IPW. | trajhrmsm_ipw |
History Restricted MSM and Latent Class of Growth Analysis estimated with a Pooled LTMLE. | trajhrmsm_pltmle |
Parametric g-formula | trajmsm_gform |
Marginal Structural Model and Latent Class of Growth Analysis estimated with IPW | trajmsm_ipw |
Pooled LTMLE | trajmsm_pltmle |