BoundaryStats: An R package to calculate boundary overlap statistics
1Ecologists and epidemiologists frequently rely on spatially distributed data. Studies in these fields may concern geographic boundaries, as environmental variation can determine the spatial distribution of organismal traits or diseases. In such cases, environmental boundaries produce coincident geographic boundaries in, for example, disease prevalence. Boundary analysis can be used to investigate the co-occurrence of organismal trait or disease boundaries and underlying environmental boundaries. Boundary and boundary overlap statistics test for the presence of significant geographic boundaries and spatial associations between the boundaries of two variables. There currently exists one implementation of boundary overlap statistics, though only on Windows and ESRI ArcView, limiting the availability of boundary overlap statistics to researchers. I have created BoundaryStats--an R package available on CRAN--that implements boundary and boundary overlap statistics. BoundaryStats is the first open-source, cross-platform implementation of these statistical methods making the statistics more widely accessible to researchers.