fdisp_w: Functional Dispersion from FD package with the option to...

Description Usage Arguments Value Examples

Description

fdisp measures the functional dispersion (FDis) of a set of communities, as described by Laliberté and Legendre (2010). fdisp_w also allows to weight FDis by biomass

Usage

1
2
fdisp_w(d, a, tol = 1e-07, Weigthedby = c("abundance", "biomasCarabids",
  "biomasBees", "biomassValue"), biomassValue = NA)

Arguments

Weigthedby

character string indicating if should be weighted by 'abundance' or 'biomassValue'. If biomassValue is in "length" units for Carabids or bees, use options 'biomasCarabids' or 'biomasBees' to automatically convert to mass.

biomassValue

numerical vector with body weigh (or length) values for each species in the same order as species are provided. It can also be a matrix or data frame with one mass value for each community and species (both communities and species arranged like in a).

same

as dbFD

Value

same as dbFD

FDis vector listing the FDis of each community weighted by abundance or biomass

Examples

1
2
3
4
dummy.dist <- gowdis(dummy$trait)
ex1 <- fdisp_w(dummy.dist, dummy$abun, Weigthedby = "biomassValue",
biomassValue = c(1.2, 2.3, 0.6, 1.0, 3.4, 0.2, 1.6, 2.2))
ex1

ibartomeus/fundiv documentation built on May 18, 2019, 1:29 a.m.