Skip to content

pch

2.2

Piecewise Constant Hazard Models for Censored and Truncated Data

4packages depend
4.8Kdownloads / year
test coverage
13/13checks pass

Overview

About
Maintained by Paolo FrumentoFirst published 2015-11-278 releasesCRAN page ↗

Piecewise constant hazard models for survival data. The package allows for right-censored, left-truncated, and interval-censored data.

Install

Health

CRAN checks
13OK
Slowest check: 2.6 min · r-oldrel-windows-x86_64
Code health
None
Tests · ratio 0.00
not tracked
Coverage
100%
Documentation · exports
3
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
  • ERROR2026-06-08
    12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMENoVignettesNopkgdown siteNoNEWSYes · 33% structuredCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
100%
Return-value docs
100%
References docs
25%

Downloads

4.8K
CRAN downloads in the past year
Rank #9,219 · ~13/day · ~397/mo
Daily download trend is not available in this view yet.
28230 days
1K90 days
4.8K1 year
Compare downloads with other packages →
Also on131 r2u27 autocran68 c2d4u

Dependencies

Declared dependencies
1 external dependency (excludes base and recommended)
Depends (2)
survivalHmisc
Imports (1)
stats
LinkingTo (0)
none
Suggests (0)
none
Enhances (0)
none
Reverse dependencies
4direct
2indirect

Code & Tests

People & History

People (1)
Maintainer (1)
Author, Maintainer
Authors (1)
Author, Maintainer
Package Timeline

8 releases. Pick two to compare their code metrics. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • 2.2Latest
    2025-07-23 · current release · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • 2.1
    2024-02-09 · diff ↗
  • 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
  • 2.0
    2021-02-01 · diff ↗
  • R
    R 4.0.0 released · 2020-04-24
  • 1.4
    2020-02-27 · diff ↗
  • 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
  • 1.3
    2016-11-06 · diff ↗
  • 1.2
    2016-08-20 · diff ↗
Show 4 earlier events
  • R
    R 3.3.0 released · 2016-05-03
  • 1.1
    2016-02-18 · diff ↗
  • 1.0
    2015-11-27
  • R
    R 3.2.0 released · 2015-04-16

Package metadata

First published
2015-11-27
Total releases
8 / 11 yrs
License
GPL-2 OSI
Download size
17 KB
Installed size
not tracked yet
With dependencies
not tracked yet
Appears in task views

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("pch")
Frumento, P. (2025). pch: Piecewise Constant Hazard Models for Censored and Truncated Data (Version 2.2) [Computer software]. https://doi.org/10.32614/CRAN.package.pch

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

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