normalize.rows: Converts absolute abundances to relative proportions of...

Description Usage Arguments Details Value Author(s) References See Also Examples

Description

Generic function that takes a matrix of community data (where species are columns and rows are sites) and converts absolute abundances, in the form of counts or percent cover estimates, to relative proportions of species using row normalization.

Usage

1
normalize.rows(abundance.matrix)

Arguments

abundance.matrix

Community data as a matrix where columns are individual species and rows are sites. Matrix elements are abundance data (e.g. counts, percent cover estimates).

Details

All of Jost's calculation for partitioning diversity are based on relative proportions of species in a community dataset (Jost 2006, Jost 2007). The normalize.rows function performs this necessary step of converting absolute abundances to relative proportions of species for Jost's subsequent calculations of diversity and similarity indices. The normalize.rows function is built in to the D function for Jost's calculations, but we provide it here for more general usage. For example, this function will also be useful when researchers are most interested in relative proportions of species within a community rather than absolute comparisons of species abundances across multiple sites.

Value

A matrix of community data where the elements are relative proportions of species across sites (rows).

Author(s)

Noah Charney, Sydne Record

References

Jost, L. 2006. Entropy and diversity. Oikos 113(2): 363-375.

Jost, L. 2007. Partitioning diversity into independent alpha and beta components. Ecology 88(10): 2427-2439.

Hill, M. 1973. Diversity and evenness: A unifying notation and its consequences. Ecology 54: 427-432.

See Also

d

Examples

1
2
data(simesants)
simesants_freq<-normalize.rows(simesants[,-1])

Example output



vegetarian documentation built on May 1, 2019, 8:01 p.m.