BD.extent: Extension of BD framework for phylogenetic and functional...

Description Usage Arguments Value

View source: R/BD_extent_function.R

Description

Extension of BD framework for phylogenetic and functional beta diversity

Usage

1
BD.extent(Y, dist_spp, nperm = 999, method = "raw")

Arguments

Y

A matrix of species occurrence or abundance per site.

dist_spp

A matrix containing all trait or phylogenetic distances (upper and lower diagonal elements) among species.

nperm

Scalar indicating the number of permutations to be used in taxa and site shuffle null-models.

method

Character. If "raw" the BD will be computed using directly matrix Y (with reliable transformation), if "distance" BD will be computed by using distance matrix.

Value

A list containing the observed values of BD (BDextend.obs), LCBD (LCBDextend.obs), SCBD (if method is raw) and the respective values of probability calculating accordingly to site shuffle null models (ptaxa.BDextend, ptaxa.LCBDextend)


GabrielNakamura/Dimensionality_package documentation built on Dec. 17, 2021, 9:27 p.m.