Provides a comparison between communities with unequal weights based on the numbers equivalent of the Shannon beta diversity (Jost 2007). When community weights are not equal, the Shannon measures of diversity where q=1, are still valid and can be used to calculate a relative measure of homogeneity derived from MacArthur's homogeneity measure (Equation 22 from Jost 2007).

1 |

`abundances` |
Community data as a matrix where columns are individual species and rows are sites or a vector of different species within a site. Matrix and vector elements are abundance data (e.g. counts, percent cover estimates). |

`abundances2` |
Community data, a vector of different species within a site. Vector elements are abundance data (e.g. counts, percent cover estimates). If abundances is given a matrix, then abundances2 defaults to NULL. |

`wts` |
A vector of community weights whose length equals the number of communities being compared. See details below for examples of when community weights might be treated as equal or unequal. Defaults to wts=FALSE where all communities are equally weighted. |

`boot` |
Logical indicating whether to use bootstrapping to estimate uncertainty. |

`boot.arg` |
(optional) List of arguments to pass bootstrapping function: list(s.sizes=number you specify, num.iter=number you specify) |

This measure assumes the Shannon case where the order q=1.

`REL.HOMOG` |
A scalar between zero (all communities distinct) and one (all communities identical). |

`StdErr` |
(optional) Standard error of value estimated through bootstrapping. |

Noah Charney, Sydne Record

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

`M.homog`

, `similarity`

, `turnover`

.

1 2 3 4 5 6 |

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.