Skip to contents

Least-squares node positions for directed ENA.

Usage

directed_node_positions(line_weights, points, numDims, self_weight = 2)

Arguments

line_weights

Numeric matrix (units x connections)

points

Numeric matrix of rotated points (units x dims)

numDims

Number of dimensions

self_weight

Weight of a self-connection (the diagonal: ground i -> response i) in its code's node weight: 2 (default) counts it in both the node's row and column sums (Zhiqiang Cai's 2021 in + out rule); 1 counts it once.

Value

List with nodes, centroids, weights, points