plot.persistence_landscape: Plot Persistence Landscape

View source: R/ph_distances.R

plot.persistence_landscapeR Documentation

Plot Persistence Landscape

Description

Plot Persistence Landscape

Usage

## S3 method for class 'persistence_landscape'
plot(x, ...)

Arguments

x

A persistence_landscape object.

...

Ignored.

Value

A ggplot.

Examples


mat <- matrix(c(0, .6, .5, .6, 0, .4, .5, .4, 0), 3, 3)
rownames(mat) <- colnames(mat) <- c("A","B","C")
ph <- persistent_homology(mat, n_steps = 5)
pl <- persistence_landscape(ph, k_max = 3, dimension = 0)
plot(pl)


Nestimate documentation built on July 11, 2026, 1:09 a.m.