R/wmat.R
w_dist_power.Rd
Power distance weights.
w_dist_power(x, alpha = 1)
a geometry collection
exponent for distance weights
data("est_adm1") w <- w_dist_power(sf::st_geometry(est_adm1), alpha = 1) w#> Spatial weights matrix [15 x 15] #> Type: Inverse distance (alpha = 1)plot(w)