Skip to contents

A function for defining which borrowing scenarios should be evaluated as part of a simulation study.

Usage

sim_borrowing_list(borrowing_list)

Arguments

borrowing_list

named list of objects of class Borrowing created by borrowing_details().

See also

Examples


borrow_scenarios <- sim_borrowing_list(
  list(
    "No borrowing" = borrowing_details("No borrowing", "ext"),
    "Full borrowing" = borrowing_details("Full borrowing", "ext"),
    "BDB, uninformative prior" = borrowing_details("BDB", "ext", gamma_prior(0.001, 0.001)),
    "BDB, informative prior" = borrowing_details("BDB", "ext", gamma_prior(1, 0.001))
  )
)