| app_server | Shiny app server |
| app_ui | Shiny app UI |
| bounds | Bounds |
| calc_posterior | Function which calculates for k=1, ..., K, Pr(log-HR >= lhr_null | theta.hat.k = lhr_con.k) |
| calc_predictive | Calculate posterior predictive probability of ruling out lhr_null at final OS analysis |
| find_pos | Find Positivity Threshold |
| meeting_probs | Probabilities of meeting positivity threshold under target HR |
| run_app | monitOS app |