Skip to content

Piecewise Constant Hazard Models for Censored and Truncated Data

4packages depend
4.8Kdownloads / year
–test coverage
13/13flavors OK

Overview

About

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

Changes in 2.2
  • modified the Author field in DESCRIPTION as requested by new CRAN policy
  • added the [pkg] option whenever \link to another R package not in the base package

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 2.4 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK13 OK2026-06-09
  • ERROR12 OK, 1 ERROR2026-06-08
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 2.2
READMENoVignettesNoNEWSYes · 33% structured · mentions 2.2Citation fileNoWebsitenot declared in DESCRIPTION
Help pages
4 (1 internal)
Examples that run
100%3 run in a plain check
Exported functions with examples
100%
Documented parameters
100%
Return-value docs
100%
Help pages citing references
25%

Downloads

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

Dependencies

Declared dependencies
1 external dependency (excludes base and recommended)

Installing pch adds 51 packages (26 with compiled code, 52 MB of source tarballs). Heaviest: stringi 11 MB, ggplot2 6.0 MB, data.table 5.7 MB.

Depends (2)
survivalHmisc
Imports (1)
stats
LinkingTo (0)
none
Suggests (0)
none
Enhances (0)
none
Reverse dependencies
4direct
2indirect
Depends 4
Depends, Imports or LinkingTo, most downloaded first

People & History

People (1)
Author, Maintainer since 1.0 (2015)
Releases (8)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • 2.2Latest
    record
    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
    record
    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
    record
    2021-02-01 · diff ↗
  • R
    R 4.0.0 released · 2020-04-24
  • 1.4
    record
    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
    record
    2016-11-06 · diff ↗
  • 1.2
    record
    2016-08-20 · diff ↗
Show 4 earlier eventsHide 4 earlier events
  • R
    R 3.3.0 released · 2016-05-03
  • 1.1
    record
    2016-02-18 · diff ↗ ·
    added 1 export
    splinex
  • 1.0
    record
    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
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 package has no citation file, so citation() returns this entry built from DESCRIPTION.

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-10-26. https://doi.org/10.5281/zenodo.21843040

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