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]]

