Prepare NIMBLE Model Inputs
prepare_nimble_inputs(
bookkeeping,
adjacency,
data,
norm_idx_x = NULL,
pois_idx_x = NULL,
binom_idx_x = NULL,
norm_idx_y = NULL,
pois_idx_y = NULL,
binom_idx_y = NULL,
dist_y = 2
)List containing constants, data, and inits for NIMBLE
Output from prepare_spatial_bookkeeping
Output from prepare_adjacency_matrices
Original simulated data
Indices of normal-distributed X covariates
Indices of Poisson-distributed X covariates
Indices of binomial-distributed X covariates
Indices of normal-distributed Y covariates
Indices of Poisson-distributed Y covariates
Indices of binomial-distributed Y covariates
Distribution type for outcome (1=normal, 2=poisson, 3=binomial)