unweightedNetworkSDI: Not for explicit use.

View source: R/SDIvariants.R

unweightedNetworkSDIR Documentation

Not for explicit use.

Description

Not for explicit use.

Usage

unweightedNetworkSDI(g)

Arguments

g

the graph

Value

a numerical SDI value

Examples

flows<-data.frame(from=c("A","B","A"), to=c("B","A","C"), weight=c(10,20,5))
nodes<-data.frame(id=c("A","B","C","D"),x=c(0,4,0,4),y=c(3,0,0,3))
toyGraph <- igraph::graph_from_data_frame(flows, directed=TRUE, vertices=nodes)
toyGraphWithSDI <- unweightedNetworkSDI(toyGraph)

rSDI documentation built on Aug. 23, 2025, 1:11 a.m.