IndexI: I index value for a single topology.

Description Usage Arguments Value Author(s) Examples

View source: R/IndexI.R

Description

This function assigns the same weight to sister clades (see Van-Wright et al., 1981). The input tree is reordered in post order.

Usage

1

Arguments

tree

is a single tree with n terminals, an ape phylo object.

Value

Returns a vector with weights.

Author(s)

Miranda-Esquivel Daniel R.

Examples

1
2
3
4
5
6
7
8
 library(jrich)
 data(tree)
 plot(tree)
 indexi               <- IndexI(tree)
 newTree              <- tree
 newTree$tip.label    <- indexi
 plot(newTree)
 

jrich documentation built on May 29, 2017, 5:28 p.m.

Search within the jrich package
Search all R packages, documentation and source code