nexml_add: add elements to a new or existing nexml object

View source: R/nexml_add.R

nexml_addR Documentation

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"),
  ...
)

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

Value

a nexml object with the additional data

See Also

add_trees add_characters add_meta add_namespaces


RNeXML documentation built on Feb. 16, 2023, 6:56 p.m.