Best.Index: Jack-knife indices in a single topology m times and evaluates...

Description Usage Arguments Value Author(s) Examples

Description

The function jack-knifes the terminals and calculates the indices value m (=replicates) times.

Usage

1
2
Best.Index(tree = tree, distribution = distribution, jtip = jtip,
  replicates = replicates, success = c(success))

Arguments

tree

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

distribution

species distributions in n areas, a data.frame

jtip

is the proportion of terminals to delete, real (range 0-1).

replicates

is the number of replicates, an integer.

success

the measure of the success, a vector.

Value

The function returns the success that correspond to obtain the same ranking for X,Y positions, established as the vector success (by default success)).

The function returns the success that corresponds to obtain the same ranking for X,Y positions, established as the vector success (by default success))

Author(s)

Miranda-Esquivel Daniel R.

Examples

1
2
3
4
5
library(jrich)
data(tree)
data(distribution)

Best.Index(tree = tree, distribution = distribution, jtip =0.5, replicates =10, success=1)

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