Learn R Programming

phangorn (version 0.99-4)

bootstrap.pml: Bootstrap

Description

bootstrap.pml performs (non-parametric) bootstrap analysis and bootstrap.phyDat produces a list of bootstrapped datasets.

Usage

bootstrap.pml(x, bs = 3, trees = TRUE, ...)
bootstrap.phyDat(x, FUN, bs = 100, ...)

Arguments

x
an object of class pml or phyDat.
bs
number of bootstrap samples.
trees
return trees only (default) or whole pml objects.
...
further parameters used by optim.pml.
FUN
the function to estimate the trees.

Value

  • returns an object of class multi.phylo or a list where each element is an object of class pml.

See Also

optim.pml, pml