A function for defining which borrowing scenarios should be evaluated as part of a simulation study.
Arguments
- borrowing_list
named list of objects of class
Borrowing
created byborrowing_full()
,borrowing_none()
, orborrowing_hierarchical_commensurate()
.
Value
Object of class SimBorrowingList
.
See also
Other simulation classes:
sim_covariate_list()
,
sim_data_list()
,
sim_outcome_list()
,
sim_treatment_list()
Examples
borrow_scenarios <- sim_borrowing_list(
list(
"No borrowing" = borrowing_none("ext"),
"Full borrowing" = borrowing_full("ext"),
"BDB, uninformative prior" = borrowing_hierarchical_commensurate(
"ext",
prior_gamma(0.001, 0.001)
),
"BDB, informative prior" = borrowing_hierarchical_commensurate(
"ext",
prior_gamma(1, 0.001)
)
)
)