Learn R Programming

simplextree (version 1.0.1)

expand: k-expansion.

Description

Performs a k-expansion on the 1-skeleton of the complex, adding k-simplices if all combinations of edges are included. Because this operation uses the edges alone to infer the existence of higher order simplices, the expansion assumes the underlying complex is a flag complex.

Usage

expand(st, k = 2)

Arguments

st

a simplex tree.

k

the target dimension of the expansion.