IndexW: W index value for a single topology.

Description Usage Arguments Author(s) Examples

Description

This function assigns the weight according to the ramification patterns (see Van-Wright et al., 1981). 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.

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)
  


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

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.