clique_vertex_mat {netUtils} | R Documentation |
Creates the clique vertex matrix with entries (i,j) equal to one if node j is in clique i
clique_vertex_mat(g)
g |
An igraph object |
Numeric matrix
David Schoch
library(igraph)
g <- sample_gnp(10, 0.2)
clique_vertex_mat(g)