nConfig | R Documentation |
Finds the sizes of configurations in the tree.
nConfig(tree, maxClade = NULL)
tree |
a tree of class |
maxClade |
an integer between 1 and the number of tips (the default), specifying the maximum clade size of interest. |
A list with 2 entries:
cladeSizes is a vector giving the size of the clade descending at each node:tips all have the value 1, internal nodes have their number of tip descendants.
numClades is a vector where numClades[[i]] is the number of clades of size i in the tree.
All clade sizes are calculated, but the output can be restricted using maxClade
to just those of size up to 'maxClade'.
Michelle Kendall michelle.louise.kendall@gmail.com
## Configuration sizes on a random tree with 10 tips: tree <- rtree(10) plot(tree) nodelabels() nConfig(tree)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.