Learn R Programming

SDPDmod (version 0.0.6)

rownor: Row-normalization

Description

Row-normalization of a spatial weights matrix.

Usage

rownor(W)

Value

W

row-normalized spatial weights matrix

Arguments

W

spatial weights matrix

Author

Rozeta Simonovska

See Also

eignor

Examples

Run this code
library("sf")
ger   <- st_read(system.file("shape/GermanyNUTS3.shp",
                             package = "SDPDmod"),
                 quiet = TRUE)
W     <- mOrdNbr(ger, 3)
Wnor  <- rownor(W)

Run the code above in your browser using DataLab