powered by
graphNEL
Spectral clustering for graphNEL objects
spectral_graphNEL(g, Cn_min = 1L, tol = 1e-05, names = 1L, fix_neig = 0L)
data.frame with node names and membership information
data.frame
graphNEL object
minimum cluster size
tolerance
are we dealing with alphaNumeric (1) or numeric (!1) ids
whether to fix neighbouring nodes found in same community
spectral_igraph_membership
library(graph) V = letters[1:12] g2 = randomEGraph(V, edges=20) mem.df = spectral_graphNEL(g2) head(mem.df)
Run the code above in your browser using DataLab