Description Usage Arguments Value Examples
View source: R/topological_order.R
Compute the topological order of a tree
1 | topological_order(MTG, ascend = FALSE)
|
MTG |
An MTG tree as from |
ascend |
Is the order computed from the base ( |
Nothing, update the values of the MTG in-place. The MTG is enriched with the topological order of each node
1 2 3 4 | filepath= system.file("extdata", "simple_plant.mtg", package = "XploRer")
MTG= read_mtg(filepath)
topological_order(MTG)
print(MTG, "topological_order")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.