Takes a niche utilization matrix returns the variance of the Czekanowski niche overlap index

1 | ```
czekanowski_var(m = matrix(rpois(80, 1), nrow = 10))
``` |

`m` |
a matrix of resource utilization values. |

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.

Returns the variance of the average pairwise niche overlap.

The resource utilization matrix (rows = species, columns = discrete resource categories) may include zeroes, but no negative numbers or missing values. Relative resource within a species is first calculated, so the rows need not sum to 1.0.

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

`czekanowski`

niche overlap index.

1 | ```
obsVar <- czekanowski_var(m=matrix(rpois(40,0.5),nrow=8))
``` |

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.