# NOT RUN {
# in real analysis use larger n, e.g. 500 preferably more
# }
# NOT RUN {
data(Laurasiatherian)
dm <- dist.logDet(Laurasiatherian)
tree <- NJ(dm)
fit <- pml(tree, Laurasiatherian)
fit <- optim.pml(fit, TRUE)
set.seed(6)
tree <- rNNI(fit$tree, 1)
fit <- update(fit, tree = tree)
(res <- SOWH.test(fit, n=100))
summary(res)
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab