Input borrowing details for a simulation study
sim_borrowing_list.Rd
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_details()
.
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_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))
)
)