| verify_simplicial | R Documentation |
Cross-validates clique finding and Betti numbers against igraph and known topological invariants. Useful for testing.
verify_simplicial(mat, threshold = 0)
mat |
A square adjacency matrix. |
threshold |
Edge weight threshold. |
A list with $cliques_match (logical),
$n_simplices_ours, $n_simplices_igraph,
$betti, and $euler.
mat <- matrix(c(0,.6,.5,.6,0,.4,.5,.4,0), 3, 3)
colnames(mat) <- rownames(mat) <- c("A","B","C")
verify_simplicial(mat, threshold = 0.3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.