R Packages


psborrow2 is an R package that for conducting Bayesian Dynamic Borrowing (BDB) analyses and simulation studies.psborrow2 has two main objectives:

  1. Facilitate BDB analyses. psborrow2 has a user-friendly interface for conducting BDB analyses that handles the computationally-difficult MCMC sampling on behalf of the user.

  2. Facilitate simulation studies of BDB. psborrow2 includes a framework to compare different trial and BDB characteristics in a unified way in simulation studies to inform trial design.

Install with:


More information on https://genentech.github.io/psborrow2/main/index.html.


This is a lightweight, work-in-progress package that prepares data for clone censor weight analyses in R.

Install with:


More informaton on https://mattsecrest.github.io/survivalCCW/.