Skip to content

Yang and Prentice Model with Piecewise Exponential Baseline Distribution

0packages depend
2.7Kdownloads / year
46.0%test coverage
9/13flavors OK

Overview

About

Semiparametric modeling of lifetime data with crossing survival curves via Yang and Prentice model with piecewise exponential baseline distribution. Details about the model can be found in Demarqui and Mayrink (2019) arXiv:1910.02406. Model fitting carried out via likelihood-based and Bayesian approaches. The package also provides point and interval estimation for the crossing survival times.

Changes in 1.0.1

New features

  • coef() function to extract the regression coefficientes under the MLE approach
  • vcov() function to compute the variance-covariance matrix associated with the regression coefficients under the MLE approach
  • confint() function to compute the 100(1-alpha)% confidence intervals under the MLE approahc

Bug fixes

  • yppe() function now works properly if both the number of intervals and the time grid (n_int and rho) are passed as arguments; the default time grid is now computed by using all distinct observed failure times as the endpoints of the intervals

---

From NEWS.md in the release

Install

Health

CRAN checks
4NOTE9OK
Check messages
NOTECRAN incoming feasibilityr-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc
Maintainer: ‘Fabio Demarqui <fndemarqui@est.ufmg.br>’

The Description field contains
  Mayrink (2019) <arXiv:1910.02406>. Model fitting carried out via
Please refer to arXiv e-prints via their arXiv DOI <doi:10.48550/arXiv.YYMM.NNNNN>.
NOTEdependencies in R coder-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc
Namespace in Imports field not imported from:
  ‘rstantools’
All declared Imports should be used.

CRAN check page ↗

Slowest check: 11.3 min · r-oldrel-windows-x86_64
Status changes
  • NOTE9 OK, 4 NOTE2026-07-29
  • ERROR8 OK, 4 NOTE, 1 ERROR2026-07-27
  • NOTE7 OK, 7 NOTE2026-04-22
  • ERROR6 OK, 7 NOTE, 1 ERROR2026-04-18
  • NOTE7 OK, 7 NOTE2026-03-10
Advisories

none known

Documentation

In release 1.0.1
README· In the repository, left out of the releaseVignettesNoNEWSYes · 67% structured · mentions 1.0.1Citation fileNo
Help pages
17includes a package overview page
Examples that run
0%3 only when donttest examples are enabled (R CMD check --as-cran)
Exported functions with examples
14%
Documented parameters
92%
Return-value docs
100%
Help pages citing references
18%

Downloads

2.7K
CRAN downloads in the past year
Rank #14,404 · ~7/day · ~223/mo
Daily download trend is not available in this view yet.
32930 days
83190 days
2.7K1 year
Compare downloads with other packages →
Also on337 r2u2 autocran

Repository

4Stars
1Forks
0Open issues
1Open PRs
0Releases
50Commits
1Commit identities
50 commits · Last activity 2023-10-17 · 0% stars, 30d · Default branch at 1.1.0, ahead of CRAN 1.0.1 (checked 2026-10-22)
Responsiveness
How these are sampled
PRs merged (all time)
0%
Median days to close, 50 most recently updated closed issues
not measured
Median days to close, 50 most recently updated closed PRs
74

Stars over time

2025-09-11 · 42026-07-07 · 4
PracticesBeta

9 development-tooling and community-health practices detected across 4 families in the upstream repository

Checks run against github.com/fndemarqui/yppe on 2026-10-22.

Continuous integration (3)
GitHub ActionsR CMD check workflowTravis CI (config file)

The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel

Docs source (4)
README.Rmdpkgdown

GitHub Pages site last deployed 2023-10-17 · The repository has a site deploy workflow

CRAN release process (1)
cran-comments.md
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v4 (2026-10-20)

Dependencies

Declared dependencies
10 external dependencies (excludes base and recommended)

Installing YPPE adds 49 packages (22 with compiled code, 44 MB of source tarballs). Heaviest: BH 14 MB, ggplot2 6.0 MB, loo 2.7 MB.

Depends (2)
R >= 3.4.0survival
Imports (6)
Suggests (1)
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Datasets

People & History

People (1)
Author, Maintainer since 1.0.0 (2019)
Releases (2)

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
  • R
    R 4.1.0 released · 2021-05-18
  • R
    R 4.0.0 released · 2020-04-24
  • 1.0.1Latest
    record
    2020-01-09 · current release · diff ↗ ·
    added 3 exports
    coef, confint, vcov
  • 1.0.0
    record
    2019-10-09
  • R
    R 3.6.0 released · 2019-04-26

Package metadata

First published
2019-10-09
Total releases
2 / 7 yrs
License
GPL (>= 2) OSI
Minimum R
≥ 3.4.0
Bundled data
5.7 KB / 2 files
Download size
34 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("YPPE")
Demarqui, F. (2020). YPPE: Yang and Prentice Model with Piecewise Exponential Baseline Distribution (Version 1.0.1) [Computer software]. https://doi.org/10.32614/CRAN.package.YPPE

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 YPPE version 1.0.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