Unlimited learning, half price | 50% off

Last chance! 50% off unlimited learning

Sale ends in


migraph (version 0.8.13)

ggtools: Visualising graphs and identifying nodes with maximum values of the specified measure.

Description

Visualising graphs and identifying nodes with maximum values of the specified measure.

Usage

ggidentify(object, node_measure, identify_function = max)

ggdistrib(object, node_measure)

Arguments

object

a migraph-consistent object

node_measure

some arbitrary function that runs on the object and returns a numeric vector that can be used to scale the nodes

identify_function

a function for the identification of a single node, e.g. max, min, mean, etc.

Examples

Run this code
# NOT RUN {
ggidentify(brandes, node_degree)
ggidentify(brandes, node_betweenness)
ggidentify(brandes, node_closeness)
ggidentify(brandes, node_eigenvector)
ggdistrib(brandes, node_degree)
ggdistrib(brandes, node_betweenness)
ggdistrib(brandes, node_closeness)
ggdistrib(brandes, node_eigenvector)
# }

Run the code above in your browser using DataLab