Skip to content

cmprskcoxmsm

0.2.1

Use IPW to Estimate Treatment Effect under Competing Risks

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

Overview

About
Maintained by Yiran ZhangFirst published 2021-01-223 releasesCRAN page ↗

Uses inverse probability weighting methods to estimate treatment effect under marginal structure model for the cause-specific hazard of competing risk events. Estimates also the cumulative incidence function (i.e. risk) of the potential outcomes, and provides inference on risk difference and risk ratio. Reference: Kalbfleisch & Prentice (2002)doi:10.1002/9781118032985; Hernan et al (2001)doi:10.1198/016214501753168154.

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.5 min · r-devel-linux-x86_64-fedora-clang
Code health
None
Tests · ratio 0.00
not tracked
Coverage
100%
Documentation · exports
6
Dependencies · direct
Check history
  • NOTE2026-03-10
    12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMENoVignettesYes · dynamicpkgdown siteNoNEWSNoCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
100%
Return-value docs
100%
References docs
29%

Downloads

2.8K
CRAN downloads in the past year
Rank #14,977 · ~8/day · ~234/mo
Daily download trend is not available in this view yet.
24130 days
74590 days
2.8K1 year
Compare downloads with other packages →
Also on152 r2u9 autocran649 conda_forge

Dependencies

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

Nothing depends on this yet.

Code & Tests

Code Composition
Other 1,882 (61%)R 519 (17%)Rd 376 (12%)Vignettes 284 (9%)
Code characteristics
Object systems
S31
Cyclomatic complexity
5.0 median / 27 max

Test coverage

Line coverage

Expression

Tests / Examples

Functions

6 6 exported

Complexity

8.2 avg / 27 max

Call network

6 nodes / 1 edges

Loading call graph…

Lowest coverage

Per-function coverage is not measured for this package yet.

Datasets

Bundled datasets · 1
NameClassRows × ColsAlso ships in
follicdata.frame541 × 7in 4 packages

People & History

People (0)

Author records are not tracked yet for this package.

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

3 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
  • R
    R 4.2.0 released · 2022-04-22
  • 0.2.1Latest
    2021-09-04 · current release · diff ↗
  • R
    R 4.1.0 released · 2021-05-18
  • 0.2.0
    2021-02-15 · diff ↗
  • 0.1.0
    2021-01-22
  • R
    R 4.0.0 released · 2020-04-24

Package metadata

First published
2021-01-22
Total releases
3 / 5 yrs
License
GPL (>= 2) OSI
Bundled data
6.4 KB / 1 file
Download size
297 KB
Installed size
not tracked yet
With dependencies
not tracked yet
Report a problem with this page →