N1Spr calculates the number of trees one subtree prune-and-regraft
operation away from a binary input tree using the formula given by Allen and
Steel (2001).
Usage
N1Spr(n)
IC1Spr(n)
Arguments
n
Integer vector specifying the number of tips in a tree.
Value
N1SPR returns an integer vector.
IC1SPR returns an numeric vector.
Functions
IC1Spr: Information content of trees 0 or 1 SPR step from tree
with n tips.
Details
IC1Spr calculates the information content of trees at this distance: i.e.
the entropy corresponding to the proportion of all possible n-tip trees
whose SPR distance is at most one from a specified tree.