hi,

i don't exactly know what you want to do but this may serve as a starter:
http://thebiobucket.blogspot.com/2011/04/test-difference-between-diversity.html

if you want to test difference in habitat diversity between sites you just
need to replace my species in the example with your habitats.

cheers,
kay

2011/12/23 Martin Wilkes <m.wilkes@worc.ac.uk>

> We have counts of habitat types at three sites and want to permute the
> sets of counts between sites to get a distribution of habitat (H)
> diversity. We have tried several R functions (perm, sample, permtest) but
> none seems to do what we want.  We're happy writing the code to calculate
> the H distribution but need some help getting the permutations right if
> possible please.
>
> Thanks
>
> Martin Wilkes
> University of Worcester
>
>        [[alternative HTML version deleted]]
>
> _______________________________________________
> R-sig-ecology mailing list
> R-sig-ecology@r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-ecology
>

	[[alternative HTML version deleted]]

