Skip to content

psborrow

0.2.4Package record

Bayesian Dynamic Borrowing with Propensity Score

0packages depend
6.5Kdownloads / year
73.1%test coverage
13/13flavors OK

Overview

About

A tool which aims to help evaluate the effect of external borrowing using an integrated approach described in Lewis et al., (2019) doi:10.1080/19466315.2018.1497533 that combines propensity score and Bayesian dynamic borrowing methods.

Changes in 0.2.4
  • Change deprecated arguments in ggplot2 calls.

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 7.9 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-04-10
Show 2 earlier changesHide 2 earlier changes
  • ERROR13 OK, 1 ERROR2026-04-09
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 0.2.4
READMENoVignettesYes · 4 · dynamicNEWSYes · 100% structured · mentions 0.2.4Citation fileNoWebsitenot declared in DESCRIPTION
Help pages
31 (4 internal)
Examples that run
78%7 run in a plain check · 2 hold no code
Exported functions with examples
47%
Documented parameters
100%
Return-value docs
94%
Help pages citing references
0%

Downloads

6.5K
CRAN downloads in the past year
Rank #9,898 · ~18/day · ~540/mo
Daily download trend is not available in this view yet.
40230 days
1K90 days
6.5K1 year
Compare downloads with other packages →
Also on82 r2u3 autocran

Dependencies

Declared dependencies
16 external dependencies (excludes base and recommended)

Installing psborrow adds 40 packages (17 with compiled code, 27 MB of source tarballs). Heaviest: ggplot2 6.0 MB, data.table 5.7 MB, Rcpp 1.8 MB.

Depends (1)
R >= 3.5.0
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

People & History

People (6)
Maintainer since 0.2.1 (2023), Contributor · added in 0.2.1
Author · added in 0.2.0
Author
Contributor · added in 0.2.0
Copyright holder, Funder · added in 0.2.0

Previously maintained by Craig Gower-Page (0.2.0) and Aijing Lin (0.1.0).

Releases (6)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • 0.2.4Latest
    record
    2025-08-22 · current release · diff ↗
  • 0.2.3
    record
    2025-06-23 · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • 0.2.2
    record
    2025-02-19 · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • 0.2.1
    record
    2023-03-03 · diff ↗
  • 0.2.0
    record
    2022-05-16 · diff ↗ ·
    added 2 exports
    apply_mcmc, extract_samples
  • R
    R 4.2.0 released · 2022-04-22
  • 0.1.0
    record
    2021-06-04
  • R
    R 4.1.0 released · 2021-05-18

Package metadata

First published
2021-06-04
Total releases
6 / 5 yrs
License
Apache License (>= 2) · relicensed from GPL (>= 3) | file LICENCE in 0.2.0
Minimum R
≥ 3.5.0
Download size
239 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("psborrow")
Gravestock, I., F. Hoffmann-La Roche AG, Gower-Page, C., Lin, A., Lu, Y., & Secrest, M. (2025). psborrow: Bayesian Dynamic Borrowing with Propensity Score (Version 0.2.4) [Computer software]. https://doi.org/10.32614/CRAN.package.psborrow

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 psborrow version 0.2.4 [Data set]. HJJB, LLC. Data release v2026-10-21. https://doi.org/10.5281/zenodo.21843040

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