powered by
## S3 method for class 'multi.tree': unique(x, incomparables = FALSE, use.edge.length = FALSE, use.tip.label = TRUE, ...)
"multi.tree"
FALSE
TRUE
c("multi.tree", "phylo")
"phylo"
all.equal.phylo
unique
read.tree
read.nexus
TR <- replicate(50, rtree(4), simplify = FALSE) class(TR) <- c("multi.tree", "phylo") # set the class! length(unique(TR)) # not always 15... howmanytrees(4)
Run the code above in your browser using DataLab