Learn R Programming

SDPDmod (version 0.0.6)

isrownor: Is the matrix row-normalized

Description

Checks if a spatial weights matrix is row-normalized.

Usage

isrownor(W)

Value

Logical value. If the weights matrix is row-normalized such that all rows sum up to 1, the value is TRUE.

Arguments

W

spatial weights matrix

Author

Rozeta Simonovska

See Also

rownor

Examples

Run this code
data("usa46", package="SDPDmod")
isrownor(usa46)

Run the code above in your browser using DataLab