Learn R Programming

jrich (version 0.60-35)

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

Description

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

Usage

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))

Examples

Run this code
library(jrich)
data(tree)
data(distribution)

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


Run the code above in your browser using DataLab