findAxes: findAxes

Description Usage Arguments Details Value Author(s) Examples

Description

Places vertices into axes

Usage

1
findAxes(graph, func = walktrap.community, ...)

Arguments

graph

An igraph object

func

A function that returns a cluster membership for each node

...

Further arguments for func

Details

Places vertices into axes based on a clustering algorithm

Value

A graph with a new Vertex slot 'axis' that stores the cluster membership

Author(s)

Jared P. Lander

Examples

1
2
3
4
5
library(igraph)
data(flights)
g <- graph.data.frame(flights, directed=TRUE)
g2 <- findAxes(g)
V(g2)$axis

jaredlander/HivePlot documentation built on May 18, 2019, 3:46 p.m.