add elements to a new or existing nexml object
nexml_add(
x,
nexml = new("nexml"),
type = c("trees", "characters", "meta", "namespaces"),
...
)
a nexml object with the additional data
the object to be added
an existing nexml object onto which the object should be appended
the type of object being provided.
additional optional arguments to the add functions
add_trees
add_characters
add_meta
add_namespaces