geocd_swm {geocomplexity} | R Documentation |
constructing spatial weight matrix based on geocomplexity with spatial dependence
Description
constructing spatial weight matrix based on geocomplexity with spatial dependence
Usage
geocd_swm(sfj, wt = NULL, style = "B", ...)
Arguments
sfj |
An |
wt |
(optional) Spatial weight matrix based on spatial adjacency or spatial distance relationships. |
style |
(optional) A character that can be |
... |
(optional) Other parameters passed to |
Value
A matrix
Examples
econineq = sf::read_sf(system.file('extdata/econineq.gpkg',package = 'geocomplexity'))
wt_gc = geocd_swm(econineq)
wt_gc[1:5,1:5]
[Package geocomplexity version 0.2.1 Index]