extend_network {EGAD}R Documentation

Builds an extended network from a binary network

Description

The function extends a binary network by using the inverse of the path length between nodes as a weighted edge

Usage

extend_network(net, max = 6)

Arguments

net

matrix binary and symmetric

max

numeric maximum number of jumps

Value

ext_net matrix dense and symmetric

Examples

net <- matrix( sample(c(0,1),36, replace=TRUE), nrow=6,byrow=TRUE)
ext_net <- extend_network(net)



[Package EGAD version 1.22.0 Index]