normw {GeoXp}R Documentation

Normalize a spatial weight matrix

Description

The function `normw' normalizes a spatial weight matrix

Usage

normw(w)

Arguments

w A spatial weight matrix of size $n times n$

Details

W_{ij}=frac{W_{ij}}{sum_kW_{ik}}

Value

A matrix of size $n times n$

Author(s)

Aragon Y., Thomas-Agnan C., Ruiz-Gazen A., Robidou L.

References

Aragon Yves, Perrin Olivier, Ruiz-Gazen Anne, Thomas-Agnan Christine (2008), ``Statistique et Econométrie pour données géoréférencées : modèles et études de cas''

See Also

neighbourmap, moranplotmap,makedistancew,makeneighborsw

Examples

# data auckland
data(auckland)
W<-makedistancew(auckland$Easting,auckland$Northing,5)
W2<-normw(W)

[Package GeoXp version 1.2 Index]