Aggregate per-line self-connections into a unit vector
aggregate_self_connections.Rdfinalize_self_connections() summed over the lines.
Arguments
- row_conn
Numeric matrix (n_response_rows x n_codes^2) of per-row directed counts, i.e.
apply_tensor()$row_connection_counts- n_codes
Number of codes
- ordered
TRUE = keep directed n*n rows; FALSE = fold to choose(n, 2)
- weight
Weight model name (
"binary","product","sqrt","log1p"), or TRUE/FALSE for the legacy binary flag (TRUE ="binary", FALSE ="product"). NULL (default) ="binary".