IndexW: W index value for a single topology.

Description Usage Arguments Author(s) Examples

Description

This function assigns the weights according to the ramification pattern [1]. The input tree is reordered in post order. Returns a vector with weights.

Usage

1

Arguments

tree

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

Author(s)

Miranda-Esquivel Daniel R.

#'@references [1] Van-Wright et al., 1991. What to Protect? Systematics and the Agony of Choice. Biological Conservation 55 (1991) 235-254

Examples

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

Dmirandae/jrich documentation built on May 6, 2019, 2:50 p.m.