powered by
Return the age for ids.
ids
getNdsAge(tree, ids, tree_age, parallel = FALSE, progress = "none")
TreeMan object
TreeMan
vector of node ids
numeric value of known age of tree
logical, make parallel?
name of the progress bar to use, see create_progress_bar
create_progress_bar
Returns a vector, parallelizable.
getNdAge, getSpnAge, getSpnsAge, https://github.com/DomBennett/treeman/wiki/get-methods
getNdAge
getSpnAge
getSpnsAge
# NOT RUN { library(treeman) tree <- randTree(10) getNdsAge(tree, ids=tree['nds'], tree_age=getAge(tree)) # }
Run the code above in your browser using DataLab