Skip to content

trajmsm

0.1.5Package record

Marginal Structural Models with Latent Class Growth Analysis of Treatment Trajectories

0packages depend
2.3Kdownloads / year
–test coverage
13/13flavors OK

Overview

About

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.

Install

Health

CRAN checks
13OK
Slowest check: 2.7 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-08-04
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK13 OK2026-06-08
  • WARNING12 OK, 1 WARNING2026-06-07
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 0.1.5
READMEYes · 235 wordsVignettesNoNEWSNoCitation fileNo
Help pages
14
Examples that run
23%3 run in a plain check · 9 only when donttest examples are enabled (R CMD check --as-cran) · 1 never run
Exported functions with examples
93%
Documented parameters
97%
Return-value docs
100%
Help pages citing references
0%

Downloads

2.3K
CRAN downloads in the past year
Rank #21,326 · ~6/day · ~195/mo
Daily download trend is not available in this view yet.
25130 days
63190 days
2.3K1 year
Compare downloads with other packages →
Also on81 r2u2 autocran

Repository

6Stars
1Forks
1Open issues
0Open PRs
0Releases
59Commits
1Commit identities
g-computationinverse-probability-weightsmarginal-structural-modelstmletrajectory-analysis
59 commits · Last activity 2025-06-16 · 0% stars, 30d · The default branch showed an older version (0.1.3) than CRAN on 2026-10-25
Responsiveness
How these are sampled
PRs merged (all time)
100%
Median days to close, 50 most recently updated closed issues
not measured
Median days to close, 50 most recently updated closed PRs
0

Stars over time

2025-10-15 · 62026-07-07 · 6
PracticesBeta

2 development-tooling and community-health practices detected across 2 families in the upstream repository

Checks run against github.com/awamaeva/r-package-trajmsm on 2026-10-25.

Docs source (1)

GitHub Pages site last deployed 2025-06-16

Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v4 (2026-10-20)

Dependencies

Declared dependencies
4 external dependencies (excludes base and recommended)

Installing trajmsm adds 23 packages (10 with compiled code, 17 MB of source tarballs). Heaviest: ggplot2 6.0 MB, isoband 1.5 MB, sandwich 1.4 MB.

Depends (0)
none
Imports (7)
statse1071flexmixggplot2survivalsandwichutils
LinkingTo (0)
none
Suggests (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

People & History

People (2)
Author, Maintainer since 0.1.0 (2024)
Releases (6)

Pick two releases to compare their code metrics.

Package metadata

First published
2024-02-14
Total releases
6 / 2 yrs
License
GPL (>= 3) OSI
Download size
24 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("trajmsm")
Diop, A., & Talbot, D. (2025). trajmsm: Marginal Structural Models with Latent Class Growth Analysis of Treatment Trajectories (Version 0.1.5) [Computer software]. https://doi.org/10.32614/CRAN.package.trajmsm

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for trajmsm version 0.1.5 [Data set]. HJJB, LLC. Data release v2026-10-26. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-26, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy