View source: R/geomerge.neighbor.R
geomerge.neighbor | R Documentation |
Auxiliary function that uses functionality from spdep to retrieve first and second order neighbor weights.
geomerge.neighbor(polygon_input)
polygon_input |
a |
The function serves as a wrapper for the poly2nb
, nblag
and nb2listw
functions from spdep and returns first and second order neighbor weights using zero.policy = TRUE
.
Returns a list of lists of neighbor weights named "wts1" and "wts2".
Karsten Donnay and Andrew M. Linke.
Andrew M. Linke, Karsten Donnay. (2017). "Scale Variability Misclassification: The Impact of Spatial Resolution on Effect Estimates in the Geographic Analysis of Foreign Aid and Conflict." Paper presented at the International Studies Association Annual Meeting, February 22-25 2017, Baltimore.
geomerge-package
, geomerge
, generateGrid
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.