Learn R Programming

migraph (version 0.8.2)

ggidentify: 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)

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)
# }

Run the code above in your browser using DataLab