spade_psd | R Documentation |
only spade power of spatial determinant
spade_psd(y, hs, wt)
y |
Dependent variable |
hs |
Independent variable |
wt |
Spatial weight matrix |
A numeric value
gzma = sf::read_sf(system.file('extdata/gzma.gpkg',package = 'sdsfun'))
wt1 = inverse_distance_swm(gzma)
spade_psd(y = gzma$PS_Score,
hs = discretize_vector(gzma$PS_Score,5),
wt = wt1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.