isrownor: Is the matrix row-normalized

View source: R/isrownor.R

isrownorR Documentation

Is the matrix row-normalized

Description

Checks if a spatial weights matrix is row-normalized.

Usage

isrownor(W)

Arguments

W

spatial weights matrix

Value

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

Author(s)

Rozeta Simonovska

See Also

rownor

Examples

data("usa46", package="SDPDmod")
isrownor(usa46)


RozetaSimonovska/SDPDmod documentation built on April 14, 2024, 9:40 p.m.