Learn R Programming

bivariatemaps (version 1.7)

EcoEDGE: EcoEDGE: Ecologically and Evolutionarily Distinct and Globally Endangered

Description

Calculates ED, EcoD, EDGE, EcoDGE, and EcoEDGE, from Red List Categories, a phylogenetic tree, and a functional dendrogram.

Usage

EcoEDGE(
  category,
  phylo,
  func,
  funcweight = 0.5,
  phyloweight = 0.5,
  polytomy = "isaac"
)

Value

A table with calculated values for each variable.

Arguments

category

data frame where the first column contains the red list categories of species.

phylo

phylogenetic tree of species.

func

functional dendrogram of species.

funcweight

weight of ecological distinctiveness on the calculation of EcoEDGE scores.

phyloweight

weight of evolutionary distinctiveness on the calculation of EcoEDGE scores. Sum of funcweight and phyloweight must be equal to 1.

polytomy

how to handle polytomies in the phylogeny and the functional dendrogram. See "ed.calc" function for details.

Examples

Run this code
# https://rfunctions.blogspot.com/2021/03/ecoedge-ecologically-and-evolutionarily.html

Run the code above in your browser using DataLab