Function reference
-
data.prep() - Prepare data
-
fit() - Function to estimate a Bayesian case-control model.
-
dgf() - Simulate data generating process
Shapefile data
Shapefile data for dgf() function and main case-control examples.
-
NYleukemia - Shapefile data for
dgf()function: New York
-
shape_egypt - Shapefile data for Egypt
-
survey_egypt - Case-control data for Egypt ISIS cases and controls
-
denom_mena - Denominator data for MENA countries
-
data.list - Formatted shape and case-control data for Egypt ISIS cases and controls
-
mon_egypt - Monitor object from
rstan::mon()of class "simsummary" "data.frame"
Helper functions
Helper functions to check graph connected. Created by Mitzi Morris [here]*(https://github.com/stan-dev/example-models/blob/master/knitr/car-iar-poisson/nb_data_funs.R)
-
testconnected() - Test graph connected
-
isdisconnected() - Check graph disconnected