powered by
treedata
Reorders a treedata object. Both the tips and the data are automatically reordered to match.
reorder(tdObject, ...)# S3 method for treedata reorder(tdObject, order = "postorder", index.only = FALSE, ...)
# S3 method for treedata reorder(tdObject, order = "postorder", index.only = FALSE, ...)
An object of class treedata
Additional arguments to reorder.phylo
Method for reordering
Whether a index is returned rather than the reordered treedata object
reorder.phylo
# NOT RUN { data(anolis) td <- make.treedata(anolis$phy, anolis$dat) td <- reorder(td, "postorder") # }
Run the code above in your browser using DataLab