sort.nex | R Documentation |
Sort a nexus file
## S3 method for class 'nex'
sort(x, decreasing = FALSE, by = c("taxlabels", "charlabels"), ...)
x |
nexus object |
decreasing |
whether to sort in decreasing order |
by |
sorting by |
... |
other arguments passed to sort |
## Not run:
data(twig)
twig.sorted <- sort(twig, by="taxlabels")
plot(twig.sorted)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.