node_strength_cpp: Aggregate edgeweight into nodes' strength.
Description
Aggregate edgeweight into nodes' strength.
Usage
node_strength_cpp(snode, tnode, weight, nnode, weighted = TRUE)
Value
Out-strength and in-strength.
Arguments
- snode
Source nodes.
- tnode
Target nodes.
- weight
Edgeweight.
- nnode
Number of nodes.
- weighted
Logical, true if the edges are weighted,
false if not.