Skip to content

semicmprskcoxmsm

0.2.0

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

0packages depend
2.2Kdownloads / 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: 3.0 min · r-devel-linux-x86_64-fedora-clang
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.2K
CRAN downloads in the past year
Rank #20,208 · ~6/day · ~180/mo
Daily download trend is not available in this view yet.
16830 days
57690 days
2.2K1 year
Compare downloads with other packages →
Also on96 r2u8 autocran

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
Report a problem with this page →