Description Usage Arguments Examples
Removes all simplices from the simplex tree, except the root node.
1 | clear(st)
|
st |
a simplex tree object. |
1 2 3 4 5 | st <- simplex_tree()
st %>% insert(1:3)
print(st) ## Simplex Tree with (3, 3, 1) (0, 1, 2)-simplices
st %>% clear()
print(st) ## < empty simplex tree >
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.