Home   >   User Resources   >   Online Help   >   apaGraph.Topology.LeafFraction
 

 

Function index Version 3.0.0

apaGraph.Topology.LeafFraction(Edges, NumberOfNodes)

Excel=apaGraph.Topology.LeafFraction(Edges, NumberOfNodes)

Result

Calculates the leaf fraction of a graph, i.e. the percentage of nodes with one connection only.

Syntax

Edges: graph as an edge list, i.e. an n x 3 data matrix, the first two columns containing the node indices and the third column the distance between the two nodes

NumberOfNodes: total number of nodes