AreNamesUnique {data.tree} | R Documentation |
Test whether all node names are unique.
Description
This can be useful for some conversions.
Usage
AreNamesUnique(node)
Arguments
node |
The root |
Value
TRUE
if all Node$name == TRUE
for all nodes in the tree
See Also
as.igraph.Node
Examples
data(acme)
AreNamesUnique(acme)
acme$name <- "IT"
AreNamesUnique(acme)
[Package data.tree version 1.1.0 Index]