node_strength_cpp {wdnet}R Documentation

Aggregate edgeweight into nodes' strength.

Description

Aggregate edgeweight into nodes' strength.

Usage

node_strength_cpp(snode, tnode, weight, nnode, weighted = TRUE)

Arguments

snode

Source nodes.

tnode

Target nodes.

weight

Edgeweight.

nnode

Number of nodes.

weighted

Logical, true if the edges are weighted, false if not.

Value

Out-strength and in-strength.


[Package wdnet version 1.2.3 Index]