View source: R/network-summary.R
| network_clique_size | R Documentation |
Finds the size of the largest clique (complete subgraph) in the network. Also known as the clique number or omega of the graph.
network_clique_size(x, ...)
x |
Network input: matrix, igraph, network, cograph_network, or tna object |
... |
Additional arguments passed to |
Integer: size of the largest clique
# Triangle embedded in larger graph
adj <- matrix(c(0,1,1,1, 1,0,1,0, 1,1,0,0, 1,0,0,0), 4, 4)
network_clique_size(adj) # 3
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.