Learn R Programming

EcoSimR (version 0.1.0)

pianka_var: PiankaVariance Niche Overlap Metric

Description

Takes a niche utilization matrix as in put and returns the variance of Pianka's niche overlap index.

Usage

pianka_var(m = matrix(rpois(80, 1), nrow = 10))

Arguments

m
a matrix of resource utilization values.

Value

Returns the variance of the average pairwise niche overlap.

Details

A large value for variance implies that some species pairs show high niche overlap and others show low niche overlap. A low value for variance implies that niche overlap (high or low) is very similar among all species pairs.

References

Winemiller, K.O. and E.R. Pianka. 1990. Organization in natural assemblages of desert lizards and tropical fishes. Ecological Monographs 60: 27-55.

See Also

pianka niche overlap index.

Examples

Run this code
obsVar <- pianka_var(m=matrix(rpois(40,0.5),nrow=8))

Run the code above in your browser using DataLab