Fred: Functional richness, evenness and divergence following...

View source: R/allfunctions_cati.R

FredR Documentation

Functional richness, evenness and divergence following Villeger et al. 2008

Description

Compute the 3 functional diversity indices (multi-traits) presented in Villeger et al. 2008 (Ecology 89 2290-2301): Functional richness (FRic), Functional evenness (FEve), Functional divergence (FDiv)

Usage

	Fred(traits, ind.plot)  

Arguments

traits

Individual Matrix of traits with traits in columns. NA are not allowed .

ind.plot

Factor defining the name of the plot in which the individual is.

Details

For each trait, values are standardized (mean=0 and standard deviation=1) For FRic computation, number of individuals must be higher than number of traits

Value

list of 4 vectors with values of indices in each sites

$nbind

number of individuals

$FRic

functional richness index

$FEve

functional evenness index

$FDiv

functional divergence index

Author(s)

Sebastien Villeger sligthy modified by Adrien Taudiere

See Also

ComIndexMulti ComIndex

Examples

data(finch.ind)
## Not run: 
#For most multivariate functions we need to replace (or exclude) NA values. 
#For this example, we use the package mice to complete the data.

comm<-t(table(ind.plot.finch,1:length(ind.plot.finch)))

library(mice)
traits = traits.finch
mice<-mice(traits.finch)
traits.finch.mice<-complete(mice)
fred<-Fred(traits.finch.mice, ind.plot.finch)

## End(Not run)

cati documentation built on March 18, 2022, 5:43 p.m.

Related to Fred in cati...