mx_diversity: Diversity of a species matrix

Description Usage Arguments Details Value References Examples

Description

Calculate diversity properties of a species abundance matrix: Gamma, Alpha, Beta, Halfchanges, Dust Bunny Index, others.

Usage

1
2
3

Arguments

x

array of species data, where rows = SUs and cols = species

...

further arguments passed to other methods

Details

Calculates eight measures of diversity in the matrix, and five row and column statistics. For an example applied to many simulated datasets, see Smith (2017).

Value

'mx_diversity' returns a data.frame with 8 numeric values:

'mx_profile' appends further items:

References

McCune, B., and J. B. Grace. 2002. Analysis of Ecological Communities. MjM Software, Gleneden Beach, Oregon, USA. 304 pp.

McCune, B., and H.T. Root. 2015. Origin of the dust bunny distribution in ecological community data. Plant Ecology 216(5): 645-656.

Smith, R.J. 2017. Solutions for loss of information in high-beta-diversity community data. Methods in Ecology and Evolution 8(1): 68-74.

Examples

1
2
3
4
5
6
7
8
# species abundance data
set.seed(1917)
spe <- data.frame(matrix(rnorm(30, 10, 50), 10, 3))
spe[spe < 0] <- 0
colnames(spe) <- c('Acer rubrum','Acer saccharum','Acer negundo')
spe
mx_diversity(spe)
mx_profile(spe)

phytomosaic/ecole documentation built on Jan. 2, 2022, 11:24 p.m.