powered by
phylo
as.binary(tree, ...) "as.binary"(tree, ...)
require(ape) tr <- read.tree(text="((A, B, C), D);") is.binary.tree(tr) tr2 <- as.binary(tr) is.binary.tree(tr2)
Run the code above in your browser using DataLab