ihierarchy {inetwork}R Documentation

Plot the Communal or Modular Hierarchy of a Network

Description

Given the communities identified by icommunity, the function displays the hierarchical structure of the communities within communities in the network.

Usage

ihierarchy(clusters, fan = FALSE, spread = 1)

Arguments

clusters the object returned by icommunity
fan a logical variable indicating whether the plot is arched or not
spread the distance between the communities along the arc

Details

In the hierarchy, the length of a vertical bar indicates the gain in modularity resulting from the division underneath the shoulder of the bar. (Specifically, length=(Delta Q)^(-1/3) with Delta Q in clusters$Q.) One of the applications is to best identify the (number of) communities together with information other than network connectivity. When the size of the network and/or the number of identified communities become large, display of the communities/vertices can be along concentric arcs or circles by setting fan=TRUE. The distances between the communities on the arcs can be further tuned by spread.

Author(s)

Sun-Chong Wang

See Also

inetplot, icommunity

Examples

## load example networks
data(icashflow)

## hierarchical community structure in the network
ihierarchy(icommunity(cf9,labelcf9))

## display the communities along arcs
ihierarchy(icommunity(cf9,labelcf9),fan=TRUE,spread=0.5)

## the separations are increased
ihierarchy(icommunity(cf9,labelcf9),fan=TRUE,spread=1.7)

[Package inetwork version 1.2 Index]