vegan comes with a few vignettes, have a look at those. You can start with this one: http://cran.r-project.org/web/packages/vegan/vignettes/diversity-vegan.pdf
>From the vignette: R> data(dune) R> data(dune.taxon) R> taxdis <- taxa2dist(dune.taxon, varstep=TRUE) R> mod <- taxondive(dune, taxdis) First few lines of dune.taxon: Genus Family Order Subclass Class Belper Bellis Asteraceae Asterales Asterids Dicots Empnig Empetrum Empetraceae Ericales Asterids Dicots Junbuf Juncus Juncaceae Juncales Commelinids Monocots Junart Juncus Juncaceae Juncales Commelinids Monocots Airpra Aira Poaceae Poales Commelinids Monocots Have a look at dune.taxon. I hope that gets you started. Cheers, Roman 2012/2/1 Gian Maria Niccolò Benucci <gian.benu...@gmail.com> > Dear Members, > > I would try to use indices of taxonomic diversity and distinctness to > differentiate two mycorrhizal fungal communities. My problem is up to > the*dis > * object required to the function for the calculation. In the function help > I red that "function* taxa2dist* can produce a suitable dist object from a > classification table". How should I should create this classification > table? How it should look-like? > Thank you very much in advance, > > Gian > > -- > Gian Maria Niccolò Benucci, Ph.D. > Department of Applied Biology > University of Perugia > Borgo XX Giugno, 74 > 06121 - Perugia, ITALY > Tel: +390755856433 > Email: gian.benu...@gmail.com > > > > *----- Do not print this email unless you really need to. Save paper and > protect the environment! -----* > > [[alternative HTML version deleted]] > > > _______________________________________________ > R-sig-ecology mailing list > R-sig-ecology@r-project.org > https://stat.ethz.ch/mailman/listinfo/r-sig-ecology > > -- In God we trust, all others bring data. [[alternative HTML version deleted]]
_______________________________________________ R-sig-ecology mailing list R-sig-ecology@r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-ecology