Learn R Programming

trafficCAR (version 0.1.0)

row_standardize_weights: Row-standardize adjacency matrix

Description

Row-standardize adjacency matrix

Usage

row_standardize_weights(A, zero_policy = c("keep", "error"))

Value

Sparse row-standardized weight matrix.

Arguments

A

Sparse adjacency matrix.

zero_policy

What to do with zero-degree nodes.