| extract_persistence_pairs | R Documentation |
This function extracts the persistence from combining the boundary matrix and its filtration
extract_persistence_pairs(filist, last_1, pivot_owner)
filist |
Filtration list, each element includes simplex and time. |
last_1 |
The last 1 row index for each column in boundary matrix. |
pivot_owner |
The column index owning the pivot row. |
A data frame with columns: dimension, birth, and death.
points <- matrix(c(0, 1, 1, 0, 0, 0, 1, 1), ncol = 2)
filtration <- build_vr_filtration(points, eps_max=1.2)
res <- boundary_info(filtration)
pairs <- extract_persistence_pairs(filtration, res$last_1, res$pivot_owner)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.