sim_borrowing_list {psborrow2} | R Documentation |
Input borrowing details for a simulation study
Description
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 |
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)
)
)
)
[Package psborrow2 version 0.0.3.4 Index]