powered by
Performs row standardization of a spatial weights matrix. Each row is divided by its sum, so that the weights in each row sum to 1.
row_standardize(W)
Row-standardized weights matrix.
Spatial weights matrix.
Row standardization is commonly used in spatial autocorrelation statistics. Rows with zero sum are left unchanged to avoid division by zero.