| plot_persistence | R Documentation |
Plot Persistence Diagram
plot_persistence(df)
df |
Dataframe from plot_persistence. |
A ggplot2 object representing the persistence diagram.
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)
plot_persistence(pairs)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.