nConfig {phyloTop}R Documentation

Configuration sizes in a tree

Description

Finds the sizes of configurations in the tree.

Usage

nConfig(tree, maxClade = NULL)

Arguments

tree

a tree of class phylo or phylo4. The tree should be binary and rooted; if not it will be coerced into a binary rooted tree using multi2di, if possible.

maxClade

an integer between 1 and the number of tips (the default), specifying the maximum clade size of interest.

Value

A list with 2 entries:

Author(s)

Michelle Kendall michelle.louise.kendall@gmail.com

Examples

## Configuration sizes on a random tree with 10 tips:
tree <- rtree(10)
plot(tree)
nodelabels()
nConfig(tree)



[Package phyloTop version 2.1.2 Index]