Prepare Data Object for BT-SPAS-X WinBUGs call

get_bt_spas_x_data_list(model_name, full_data_list)

Arguments

model_name

which model to call on the data. Either all_mark_recap.bug, missing_mark_recap.bug, no_mark_recap.bug, or no_mark_recap_no_trib.bug

full_data_list

a list containing all possible data objects to use in the model.

Value

a named list with the required elements for that model run.

Details

This function is called within run_single_bt_spas_x() and prepares the data lists based on which model will be run.