Supplement 1. Data and the R and WinBUGS code used in the paper.

<h2>File List</h2><blockquote> <a href="code_and_data.zip">code_and_data.zip</a><br><br> <a href="hwa_wombling.zip">hwa_wombling.zip</a><br><br> <a href="womblingRcode.R">womblingRcode.R</a><br><br> <a href="womblingFuncs.R">womblingFuncs.R</a><br><br> <a href="areal_wombling.bug">areal_wombling.bug</a><br><br> <a href="local_edge_wombling.bug">local_edge_wombling.bug</a> </blockquote><h2>Description</h2><blockquote> "code_and_data.zip" : An archive containing all data and code described below (5 files).<br> <br> "hwa_wombling.zip" : A shapefile of the county-level spread data and covariates used in the paper.<br> <br> "womblingRcode.R" : This file contains R code to perform the following analyses:<br> <ul> <li>1. Prepare geospatial data and covariates (contained in hwa_wombling.zip) for use in WinBUGS</li> <li>2. Call WinBUGS code (using R2WinBUGS package) for the areal and local-edge wombling models.</li> <li>3. Read output from WinBUGS and calcualte boundary probabilities.</li> <li>4. Make maps of output that highlight boundary probabilities.</li> </ul> "womblingFuncs.R" : R code containing helper functions for plotting, etc called by code in womblingRcode.R.<br> <br> "areal_wombling.bug" : This file contains WinBUGS code to fit a Bayesian areal wombling model.<br> <br> "local_edge_wombling.bug" : This file contains WinBUGS code to fit a Bayesian local edge wombling model. <br> </blockquote>