Learn R Programming

RNeXML (version 2.4.11)

nexml_add: add elements to a new or existing nexml object

Description

add elements to a new or existing nexml object

Usage

nexml_add(
  x,
  nexml = new("nexml"),
  type = c("trees", "characters", "meta", "namespaces"),
  ...
)

Value

a nexml object with the additional data

Arguments

x

the object to be added

nexml

an existing nexml object onto which the object should be appended

type

the type of object being provided.

...

additional optional arguments to the add functions

See Also

add_trees add_characters add_meta add_namespaces