]> git.donarmstrong.com Git - ape.git/blobdiff - man/boot.phylo.Rd
fix bug in prop.clades
[ape.git] / man / boot.phylo.Rd
index 8ac86689fa9582f4f8a06769f15b0af2fbcbc9ff..2e166656c4e858f6ccca93f7f57a49a854828eaf 100644 (file)
@@ -133,11 +133,11 @@ tr <- f(woodmouse)
 for (i in 1:5)
   print(boot.phylo(tr, woodmouse, f, quiet = TRUE))
 ### How many partitions in 100 random trees of 10 labels?...
-TR <- replicate(100, rtree(10), FALSE)
+TR <- rmtree(100, 10)
 pp10 <- prop.part(TR)
 length(pp10)
 ### ... and in 100 random trees of 20 labels?
-TR <- replicate(100, rtree(20), FALSE)
+TR <- rmtree(100, 20)
 pp20 <- prop.part(TR)
 length(pp20)
 plot(pp10, pch = "x", col = 2)