Concatenate nexml files
Usage
# S4 method for class 'nexml'
c(x, ..., recursive = FALSE)
Arguments
- x, ...
nexml objects to be concatenated, e.g. from
write.nexml
orread.nexml
. Must have unique ids on all elements- recursive
logical. If 'recursive = TRUE', the function recursively descends through lists (and pairlists) combining all their elements into a vector. (Not implemented).
Examples
if (FALSE) { # \dontrun{
f1 <- system.file("examples", "trees.xml", package="RNeXML")
f2 <- system.file("examples", "comp_analysis.xml", package="RNeXML")
nex1 <- read.nexml(f1)
nex2 <- read.nexml(f2)
nex <- c(nex1, nex2)
} # }