Package: trajmsm 0.1.0
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.0.tar.gz
trajmsm_0.1.0.zip(r-4.5)trajmsm_0.1.0.zip(r-4.4)trajmsm_0.1.0.zip(r-4.3)
trajmsm_0.1.0.tgz(r-4.4-any)trajmsm_0.1.0.tgz(r-4.3-any)
trajmsm_0.1.0.tar.gz(r-4.5-noble)trajmsm_0.1.0.tar.gz(r-4.4-noble)
trajmsm_0.1.0.tgz(r-4.4-emscripten)trajmsm_0.1.0.tgz(r-4.3-emscripten)
trajmsm.pdf |trajmsm.html✨
trajmsm/json (API)
# Install 'trajmsm' in R: |
install.packages('trajmsm', repos = c('https://awamaeva.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/awamaeva/r-package-trajmsm/issues
g-computationinverse-probability-weightsmarginal-structural-modelstmletrajectory-analysis
Last updated 9 months agofrom:11d806ec03. Checks:OK: 1 NOTE: 6. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Oct 12 2024 |
R-4.5-win | NOTE | Oct 12 2024 |
R-4.5-linux | NOTE | Oct 12 2024 |
R-4.4-win | NOTE | Oct 12 2024 |
R-4.4-mac | NOTE | Oct 12 2024 |
R-4.3-win | NOTE | Oct 12 2024 |
R-4.3-mac | NOTE | Oct 12 2024 |
Exports:build_trajgendatagformulaggtrajinverse_probability_weightingpltmlepredict_trajsplit_datatrajhrmsm_gformtrajhrmsm_ipwtrajhrmsm_pltmletrajmsm_gformtrajmsm_ipwtrajmsm_pltmle
Dependencies:backportsbroomclassclicolorspacecpp11dplyre1071fansifarverflexmixgeepackgenericsggplot2gluegtableisobandlabelinglatticelifecyclemagrittrMASSMatrixmgcvmodeltoolsmunsellnlmennetpillarpkgconfigproxypurrrR6RColorBrewerrlangsandwichscalesstringistringrsurvivaltibbletidyrtidyselectutf8vctrsviridisLitewithrzoo
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 |