Learn R Programming

funrar (version 1.5.0)

distinctiveness_global: Global/Regional Functional Distinctiveness from dissimilarity matrix

Description

Given a distance (or dissimilarity) matrix or dist() objects compute regional/global level distinctiveness as if all species were present in the same community.

Usage

distinctiveness_global(dist_obj, di_name = "global_di")

Value

a data.frame with two columns: by default species that contains the species names and global_di that contains the distinctiveness values. The first column that contains species names can renamed based on dist_obj

dimnames, while the second column is renamed through the di_name

argument.`

Arguments

dist_obj

a functional distance matrix as given by compute_dist_matrix(), with species name as row and column names or a dist() object with species names as labels()

di_name

a character vector giving the name of the distinctiveness column in the final data.frame (default: global_di)

See Also

vignette("rarity_indices", package = "funrar") and distinctiveness() Details section for detail on the index