Skip to content

YPmodel

1.4

The Short-Term and Long-Term Hazard Ratio Model for Survival Data

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

Overview

About
Maintained by Junlong SunFirst published 2013-07-115 releasesCRAN page ↗

Inference procedures accommodate a flexible range of hazard ratio patterns with a two-sample semi-parametric model. This model contains the proportional hazards model and the proportional odds model as sub-models, and accommodates non-proportional hazards situations to the extreme of having crossing hazards and crossing survivor functions. Overall, this package has four major functions: 1) the parameter estimation, namely short-term and long-term hazard ratio parameters; 2) 95 percent and 90 percent point-wise confidence intervals and simultaneous confidence bands for the hazard ratio function; 3) p-value of the adaptive weighted log-rank test; 4) p-values of two lack-of-fit tests for the model. See the included "read_me_first.pdf" for brief instructions. In this version (1.1), there is no need to sort the data before applying this package.

Install

Health

CRAN checks
2NOTE11OK
Failing flavors
  • NOTE r-devel-linux-x86_64-debian-clang
  • NOTE r-devel-linux-x86_64-debian-gcc
Code health
None
Tests · ratio 0.00
not tracked
Coverage
None
Vignettes
No
README
0
Dependencies · direct
Check history
  • NOTE2026-03-10
    12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Downloads

3.1K
CRAN downloads in the past year
Rank #21,507 · ~9/day · ~261/mo
21630 days
56090 days
3.1K1 year
Also on103 r2u22 autocran27 c2d4u
Source & community

Repository stars, issues, and contributor activity are not tracked yet.

Dependencies

Declared dependencies
0 external dependencies (excludes base and recommended)
Depends (1)
R >= 3.5.0
Imports (0)
none
LinkingTo (0)
none
Suggests (0)
none
Enhances (0)
none
Reverse dependencies
0direct
indirect (not tracked)

Nothing depends on this yet.

Code

2,901Lines of code
2Exported functions

Code intelligence has not been computed for this package yet.

People & History

People (0)

Author records are not tracked yet for this package.

Release timeline

5 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
  • R
    R 4.1.0 released · 2021-05-18
  • 1.4Latest
    2020-10-20 · current release
  • R
    R 4.0.0 released · 2020-04-24
  • R
    R 3.6.0 released · 2019-04-26
  • R
    R 3.5.0 released · 2018-04-23
  • R
    R 3.4.0 released · 2017-04-21
  • R
    R 3.3.0 released · 2016-05-03
  • 1.3
    2015-11-09 · diff ↗
  • 1.2
    2015-09-22 · diff ↗
  • R
    R 3.2.0 released · 2015-04-16
  • R
    R 3.1.0 released · 2014-04-10
Show 2 earlier events
  • 1.1
    2014-02-17 · diff ↗
  • 1.0
    2013-07-11

Package metadata

First published
2013-07-11
Total releases
5 / 13 yrs
License
GPL (>= 3) OSI
Download size
not tracked yet
Installed size
not tracked yet
With dependencies
not tracked yet