Learn R Programming

SVG (version 1.0.0)

row_standardize: Row Standardize Adjacency Matrix

Description

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.

Usage

row_standardize(W)

Value

Row-standardized weights matrix.

Arguments

W

Spatial weights matrix.

Details

Row standardization is commonly used in spatial autocorrelation statistics. Rows with zero sum are left unchanged to avoid division by zero.