Skip to content

semicmprskcoxmsm

0.2.0

Use Inverse Probability Weighting to Estimate Treatment Effect for Semi Competing Risks Data

0packages depend
2.1Kdownloads / year
test coverage
11/13checks pass

Overview

About
Maintained by Yiran ZhangFirst published 2022-03-302 releasesCRAN page ↗

Use inverse probability weighting methods to estimate treatment effect under marginal structure model (MSM) for the transition hazard of semi competing risk data, i.e. illness death model. We implement two specific such models, the usual Markov illness death structural model and the general Markov illness death structural model. We also provide the predicted three risks functions from the marginal structure models. Zhang, Y. and Xu, R. (2022) arXiv:2204.10426.

Install

Health

CRAN checks
2NOTE11OK
Failing flavors
  • NOTE r-devel-linux-x86_64-debian-clang
  • NOTE r-devel-linux-x86_64-debian-gcc
Slowest check: 2.6 min · r-oldrel-windows-x86_64
Code health
None
Tests · ratio 0.00
not tracked
Coverage
100%
Documentation · exports
7
Dependencies · direct
Check history
  • NOTE2026-03-10
    12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMENoVignettesNopkgdown siteNoNEWSNoCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
100%
Return-value docs
100%
References docs
7%

Downloads

2.1K
CRAN downloads in the past year
Rank #20,986 · ~6/day · ~173/mo
Daily download trend is not available in this view yet.
11830 days
52490 days
2.1K1 year
Compare downloads with other packages →
Also on100 r2u

Dependencies

Declared dependencies
6 external dependencies (excludes base and recommended)
Depends (0)
none
Imports (7)
ggplot2survivalstatstwanggraphicsfastGHQuadRcpp
LinkingTo (0)
none
Suggests (2)
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

People & History

People (0)

Author records are not tracked yet for this package.

Listed in earlier versions (1)
no longer listed · 0.1.0 to 0.2.0
Package Timeline

2 releases. Pick two to compare their code metrics. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • 0.2.0Latest
    2022-04-30 · current release · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • 0.1.0
    2022-03-30
  • R
    R 4.1.0 released · 2021-05-18

Package metadata

First published
2022-03-30
Total releases
2 / 4 yrs
License
GPL (>= 2) OSI
Download size
17 KB
Installed size
not tracked yet
With dependencies
not tracked yet

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("semicmprskcoxmsm")

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 semicmprskcoxmsm version 0.2.0 [Data set]. HJJB, LLC. Data release v2026-08-18. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-18, 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