Skip to content

Beta Product Confidence Procedure for Right Censored Data

2packages depend
20.9Kdownloads / year
55.1%test coverage
13/13flavors OK

Overview

About

Calculates nonparametric pointwise confidence intervals for the survival distribution for right censored data, and for medians [Fay and Brittain DOI:10.1002/sim.6905]. Has two-sample tests for dissimilarity (e.g., difference, ratio or odds ratio) in survival at a fixed time, and differences in medians [Fay, Proschan, and Brittain DOI:10.1111/biom.12231]. Basically, the package gives exact inference methods for one- and two-sample exact inferences for Kaplan-Meier curves (e.g., generalizing Fisher's exact test to allow for right censoring), which are especially important for latter parts of the survival curve, small sample sizes or heavily censored data. Includes mid-p options.

Install

Health

CRAN checks
13OK
Slowest check: 6.2 min · r-oldrel-macos-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK13 OK2026-07-25
  • NOTE12 OK, 1 NOTE2026-07-11
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 1.5.5
READMENoVignettesYes · 2 · dynamicNEWSYes · 33% structuredCitation fileYes · cites a publicationWebsitenot declared in DESCRIPTION
Help pages
25 (1 internal)includes a package overview page
Examples that run
100%18 run in a plain check
Exported functions with examples
80%
Documented parameters
97%
Return-value docs
100%
Help pages citing references
72%

Also includes 14 demo scripts (run with demo())

Downloads

20.9K
CRAN downloads in the past year
Rank #3,542 · ~57/day · ~1.7K/mo
Daily download trend is not available in this view yet.
1.1K30 days
3K90 days
20.9K1 year
Compare downloads with other packages →
Also on183 r2u21 autocran140 c2d4u

Dependencies

Declared dependencies
12 external dependencies (excludes base and recommended)

Installing bpcp adds 17 packages (7 with compiled code, 14 MB of source tarballs). Heaviest: ggplot2 6.0 MB, isoband 1.5 MB, farver 1.2 MB.

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

Datasets

People & History

People (3)
Author, Maintainer · added in 1.1.0
Contributor · added in 1.5.1
Contributor · added in 1.4

Maintainer since 0.5.0 (2012)

Listed in earlier versions (2)
no longer listed · 0.5.0 to 1.0.0
Fay
no longer listed · 1.5.1 to 1.5.5
Releases (16)

Pick two releases to compare their code metrics.

  • 1.5.5Latest
    record
    2026-07-22 · current release · diff ↗ ·
    removed 2 exports
    calc_eqS1, calc_eqS2
    added 2 exports
    calc_eq4, calc_eq5
  • 1.5.4
    record
    2026-07-21 · diff ↗
  • R
    R 4.6.0 released · 2026-04-24
  • 1.5.1
    record
    2026-02-19 · diff ↗ ·
    added 20 exports
    delta2samp, bpcpTesttime, create.kmciLR, delta.calc, calc_sigma, kmciDelta, parmtype_to_trans, twosampleChecks, create.htest, create.twosamp, BtCI, calc_eqS1, calc_eqS2, zero.one.adjust, get_h, get_dh, get_hinv, get_g, get_ginv, get_all_times
  • 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
  • 1.4.2
    record
    2022-03-12 · diff ↗
  • R
    R 4.1.0 released · 2021-05-18
  • R
    R 4.0.0 released · 2020-04-24
  • 1.4
    record
    2019-12-07 · diff ↗ ·
    added 2 exports
    bpcpfit, tidykmciLR
  • 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.4
    record
    2016-06-14 · diff ↗
Show 15 earlier eventsHide 15 earlier events
  • 1.3.3
    record
    2016-05-04 · diff ↗
  • R
    R 3.3.0 released · 2016-05-03
  • 1.3.2
    record
    2016-03-28 · diff ↗
  • 1.3.1
    record
    2016-01-20 · diff ↗
  • 1.3.0
    record
    2016-01-19 · diff ↗
  • 1.2.6
    record
    2015-07-03 · diff ↗
  • 1.2.5
    record
    2015-06-05 · diff ↗ ·
    added 1 export
    bpcpControl
  • R
    R 3.2.0 released · 2015-04-16
  • 1.2.4
    record
    2014-11-22 · diff ↗ ·
    added 3 exports
    bpcpMidp.mm, betaMeldTestMidp.mc, meldMC
  • 1.1.0
    record
    2014-04-30 · diff ↗ ·
    added 5 exports
    bpcp2samp, betaMeldTest, bpcp2sampControl, fixtdiff, mdiffmedian.test
  • R
    R 3.1.0 released · 2014-04-10
  • 1.0.0
    record
    2013-06-05 · diff ↗
  • R
    R 3.0.0 released · 2013-04-03
  • 0.5.0
    record
    2012-06-29
  • R
    R 2.15.0 released · 2012-03-30

Package metadata

First published
2012-06-29
Total releases
16 / 14 yrs
License
GPL (>= 2) OSI
Bundled data
1.1 KB / 3 files
Download size
321 KB
Appears in task views

Cite

Cite this package

Run in R for the authors' entry:

citation("bpcp")

The package provides a citation file, so citation() returns the authors' own entry.

It points to 10.1093/biostatistics/kxt016, 10.1002/sim.6905, 10.1111/biom.12231.

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 bpcp version 1.5.5 [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