plot.simplicial_complex: Plot a Simplicial Complex

View source: R/simplicial.R

plot.simplicial_complexR Documentation

Plot a Simplicial Complex

Description

Produces a multi-panel summary: f-vector, simplicial degree ranking, and degree-by-dimension heatmap.

Usage

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

Arguments

x

A simplicial_complex object.

...

Ignored.

Value

A grid grob (invisibly).

Examples


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)
if (requireNamespace("gridExtra", quietly = TRUE)) plot(sc)



Nestimate documentation built on April 20, 2026, 5:06 p.m.