neastw | R Documentation |
neastdata
A matrix indicating the binary adjacency matrix for the
neastdata
. Some of the islands (e.g., Nantucket)
are considered adjacent to the mainland because of
ferries traveling from certain mainland regions to these
islands. Manual connections were added for many of the
New York counties because they are on islands.
neastw_old
is an old version included for backwards
compatibility. neastw_old
and has some
imperfections related to symmetry and does not have
as many connections for the New York counties.
Martin Kulldorff, Eric J. Feuer, Barry A. Miller, Laurence S. Freedman; Breast Cancer Clusters in the Northeast United States: A Geographic Analysis, American Journal of Epidemiology, Volume 146, Issue 2, 15 July 1997, Pages 161–170, https://doi.org/10.1093/oxfordjournals.aje.a009247
neastdata, neastpoly
if (require(spdep) & require(sp)) {
data(neastpoly)
plot(neastpoly)
data(neastw)
lw = mat2listw(neastw, style = "B")
plot(lw, coords = coordinates(neastpoly),
col = "orange", add = TRUE)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.