concat | R Documentation |
A function that combines nexus datasets
concat(x, taxa = NULL)
x |
(required) a list of 'nex' objects to merge |
taxa |
a character vector of names of taxa to include in concatenated nexus file (optional) |
an object of class 'nex' for use in further 'phenotools' functions
Chad Eliason celiason@fieldmuseum.org
## Not run:
x <- read.nex(system.file("extdata", "clarke_2006.nex", package = "phenotools"))
y <- read.nex(system.file("extdata", "nesbitt_2015.nex", package = "phenotools"))
xy <- concat(list(x, y), taxa = c('Anas_platyrhynchos', 'Gallus_gallus', 'Crypturellus_undulatus'))
xy
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.