Multinomial Diversity Model

Description

The multinomial diversity model is a toolbox for relating diversity to complex predictors. It is based on (1) Shannon diversity; (2) the multinomial logit model, and (3) the link between Shannon diversity and the log-likelihood of the MLM.

Details

Package: MDM
Type: Package
Version: 1.0
Date: 2011-09-08
License: GPL (version 2 or newer)
LazyLoad: yes

Author(s)

Glenn De'ath: g.death@aims.gov.au

References

De'ath, G. (2011) The Multinomial Diversity Model: Linking Shannon Diversity To Multiple Predictors

Examples

1
2
3
4
5
6
7
library(MDM)
data(spider6)
fit0 <- mdm(y2p(spider6[,1:6])~1,data=spider6)
fit1 <- mdm(y2p(spider6[,1:6])~Water,data=spider6)
fit2 <- mdm(y2p(spider6[,1:6])~Water+Herbs,data=spider6)
fit3 <- mdm(y2p(spider6[,1:6])~Site,data=spider6,alpha=TRUE)
anova(fit0,fit1,fit2,fit3)