Skip to content

cmprskcoxmsm

0.2.1Package record

Use IPW to Estimate Treatment Effect under Competing Risks

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

Overview

About

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
Check messages
NOTECRAN incoming feasibilityr-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc
Maintainer: ‘Yiran Zhang <yiz038@health.ucsd.edu>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: c(person(given = "Yiran",
                      family = "Zhang",
                      role = c("aut", "cre"),
                      email = "yiz038@health.ucsd.edu"),
               person(given = "Ronghui",
                      family = "Xu",
                      role = "aut"))
as necessary.

CRAN check page ↗

Slowest check: 3.2 min · r-oldrel-windows-x86_64
Status changes
  • NOTE11 OK, 2 NOTE2026-10-25
  • ERROR11 OK, 1 NOTE, 1 ERROR2026-10-24
  • NOTE12 OK, 2 NOTE2026-03-10
Advisories

none known

Documentation

In release 0.2.1
READMENoVignettesYes · 1 · dynamicNEWSNoCitation fileNoWebsitenot declared in DESCRIPTION
Help pages
7
Examples that run
100%1 run in a plain check
Exported functions with examples
17%
Documented parameters
100%
Return-value docs
100%
Help pages citing references
29%

Downloads

2.9K
CRAN downloads in the past year
Rank #15,327 · ~8/day · ~239/mo
Daily download trend is not available in this view yet.
29430 days
80290 days
2.9K1 year
Compare downloads with other packages →
Also on90 r2u9 autocran484 conda_forge

Dependencies

Declared dependencies
5 external dependencies (excludes base and recommended)

Installing cmprskcoxmsm adds 39 packages (22 with compiled code, 37 MB of source tarballs). Heaviest: ggplot2 6.0 MB, data.table 5.7 MB, survey 2.3 MB.

Depends (0)
none
Imports (6)
ggplot2survivalstatstwanggraphicssandwich
LinkingTo (0)
none
Suggests (2)
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Datasets

People & History

People (from the free-text Author field) (2)
· added in 0.2.0

Maintainer since 0.1.0 (2021)

Releases (3)

Pick two releases to compare their code metrics.

  • 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
    record
    2021-09-04 · current release · diff ↗
  • R
    R 4.1.0 released · 2021-05-18
  • 0.2.0
    record
    2021-02-15 · diff ↗
  • 0.1.0
    record
    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

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("cmprskcoxmsm")

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 cmprskcoxmsm version 0.2.1 [Data set]. HJJB, LLC. Data release v2026-10-25. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-25, 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