| betti_numbers | R Documentation |
Computes Betti numbers: \beta_0 (components), \beta_1
(loops), \beta_2 (voids), etc.
betti_numbers(sc)
sc |
A |
Named integer vector c(b0 = ..., b1 = ..., ...).
mat <- matrix(c(0,.6,.5,.6,0,.4,.5,.4,0), 3, 3)
colnames(mat) <- rownames(mat) <- c("A","B","C")
sc <- build_simplicial(mat, threshold = 0.3)
betti_numbers(sc)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.