This repository contains the R programs accompanying the manuscript: Zhang, H. et. al. (2024+), Prior Effective Sample Size When Borrowing on the Treatment Effect Scale (https://arxiv.org/abs/2404.13366)