Supplement 1. Data and the R and WinBUGS code used in the paper.
2016-08-09T09:13:32Z (GMT) by
"code_and_data.zip" : An archive containing all data and code described below (5 files).
"hwa_wombling.zip" : A shapefile of the county-level spread data and covariates used in the paper.
"womblingRcode.R" : This file contains R code to perform the following analyses:
"womblingFuncs.R" : R code containing helper functions for plotting, etc called by code in womblingRcode.R.
- 1. Prepare geospatial data and covariates (contained in hwa_wombling.zip) for use in WinBUGS
- 2. Call WinBUGS code (using R2WinBUGS package) for the areal and local-edge wombling models.
- 3. Read output from WinBUGS and calcualte boundary probabilities.
- 4. Make maps of output that highlight boundary probabilities.
"areal_wombling.bug" : This file contains WinBUGS code to fit a Bayesian areal wombling model.
"local_edge_wombling.bug" : This file contains WinBUGS code to fit a Bayesian local edge wombling model.