Skip to content

marcox

1.0.0

Marginal Hazard Ratio Estimation in Clustered Failure Time Data

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

Overview

About
Maintained by Junyi ChenFirst published 2025-04-101 releasesCRAN page ↗

Estimation of marginal hazard ratios in clustered failure time data. It implements the weighted generalized estimating equation approach based on a semiparametric marginal proportional hazards model (See Niu, Y. Peng, Y.(2015). "A new estimating equation approach for marginal hazard ratio estimation"), accounting for within-cluster correlations. 5 different correlation structures are supported. The package is designed for researchers in biostatistics and epidemiology who require accurate and efficient estimation methods for survival analysis in clustered data settings.

Install

Health

CRAN checks
13OK
Slowest check: 4.6 min · r-devel-windows-x86_64
Code health
None
Tests · ratio 0.00
not tracked
Coverage
100%
Documentation · exports
6
Dependencies · direct
Check history
  • OK2026-08-05
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-08-01
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-06-09
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • WARNING2026-06-08
    12 OK · 0 NOTE · 1 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-04-25
    12 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Show 3 earlier snapshots
  • NOTE2026-04-22
    12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-04-18
    11 OK · 2 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • 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
94%
Return-value docs
100%
References docs
0%

Downloads

2.1K
CRAN downloads in the past year
Rank #19,404 · ~6/day · ~179/mo
Daily download trend is not available in this view yet.
13430 days
58790 days
2.1K1 year
Compare downloads with other packages →
Also on382 r2u7 autocran

Dependencies

Declared dependencies
5 external dependencies (excludes base and recommended)
Depends (2)
R >= 4.4.0Matrix
Imports (5)
LinkingTo (2)
Suggests (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

Datasets

People & History

People (4)
Maintainer (1)
Author, Maintainer
Authors (2)
Author, Maintainer
Author
Contributors (2)
Contributor
Contributor
Package Timeline

1 release. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • 1.0.0Latest
    2026-03-10 · current release
  • R
    R 4.5.0 released · 2025-04-11

Package metadata

First published
2025-04-10
Total releases
1 / 1 yrs
License
GPL-3 OSI
Minimum R
≥ 4.4.0
Bundled data
2.8 KB / 2 files
Download size
26 KB
Installed size
not tracked yet
With dependencies
not tracked yet

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("marcox")
Chen, J., Li, S., Niu, Y., & Zhou, S. (2025). marcox: Marginal Hazard Ratio Estimation in Clustered Failure Time Data (Version 1.0.0) [Computer software]. https://doi.org/10.32614/CRAN.package.marcox

This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.

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

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