node_strength_cpp: Aggregate edgeweight into nodes' strength.

View source: R/RcppExports.R

node_strength_cppR 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.


wdnet documentation built on May 29, 2024, 9:32 a.m.