rotatetree {genealogy} | R Documentation |
Ensures that the left branch of a tree contains values with the minim position.
rotatetree(t)
t |
A tree |
returns the rotated tree.
Ian Wilson
tree1 <- coalmig(rep(10,3),M=0.2); par(mfrow=c(1,2)); plot(tree1); plot(rotatetree(tree1));