Borrowing Class
Borrowing-class.RdA class for defining borrowing details. Objects of class
Borrowing should not be created directly but by the constructor
borrowing_details().
Slots
methodcharacter. The type of borrowing to perform. It must be one of:
'BDB','Full borrowing', or'No borrowing'. See?borrowing_detailsfor more information.ext_flag_colcharacter. The name of the column in the data matrix that corresponds to the external control flag (
1/0orTRUE/FALSE). This identifies a patient as belonging to the external control cohort.tau_priorPrior. Object of classPriordefining the hyperprior on the "commensurability parameter". See?borrowing_detailsfor more information.data_stan_codestring. Code to include in the Stan data program block.