Learn R Programming

netUtils (version 0.8.3)

clique_vertex_mat: Clique Vertex Matrix

Description

Creates the clique vertex matrix with entries (i,j) equal to one if node j is in clique i

Usage

clique_vertex_mat(g)

Value

Numeric matrix

Arguments

g

An igraph object

Author

David Schoch

Examples

Run this code
library(igraph)
g <- sample_gnp(10, 0.2)
clique_vertex_mat(g)

Run the code above in your browser using DataLab