fill_weight_cpp {wdnet}R Documentation

Fill edgeweight into the adjacency matrix. Defined for function edgelist_to_adj.

Description

Fill edgeweight into the adjacency matrix. Defined for function edgelist_to_adj.

Usage

fill_weight_cpp(adj, edgelist, edgeweight)

Arguments

adj

An adjacency matrix.

edgelist

A two column matrix represents the edgelist.

edgeweight

A vector represents the weight of edges.

Value

Adjacency matrix with edge weight.


[Package wdnet version 1.2.3 Index]