Usage
## S3 method for class 'phylo4':
addData(x, tip.data, node.data, all.data,
merge.data=TRUE, pos=c("after", "before"), ...)
## S3 method for class 'phylo4d':
addData(x, tip.data, node.data, all.data,
merge.data=TRUE, pos=c("after", "before"), ...)Arguments
x
a phylo4 or a phylo4d object
tip.data
a data frame (or object to be coerced to one)
containing only tip data
node.data
a data frame (or object to be coerced to one)
containing only node data
all.data
a data frame (or object to be coerced to one)
containing both tip and node data
merge.data
if both tip.data and node.data are
provided, it determines whether columns with common names will be
merged together (default TRUE). If FALSE, columns with common names
will be preserved separately, with ".tip" and ".
pos
should the new data provided be bound before or
after the pre-existing data?