weiGeo {rgTest}R Documentation

Weighted function

Description

This weight function returns the inverse of the geometric average of the node degrees of an edge.

Usage

weiGeo(a, b)

Arguments

a

node degree of one end of an edge

b

node degree of another end of an edge

Value

The weight uses the geometric average of the node degrees of an edge.

Examples

# For an edge where one end has a node degree of 5
# another end has a node degree of 6
weiGeo(6, 5)


[Package rgTest version 0.1 Index]