Hs.test: Test differences in expected heterozygosity (Hs)
Description
This procedure permits to test if two groups have
significant differences in expected heterozygosity (Hs).
The test statistic used is simply the difference in Hs
between the two groups 'x' and 'y':
Usage
Hs.test(x, y, n.sim = 999, alter = c("two-sided", "greater", "less"))
Value
an object of the class randtest
Arguments
x
a genind object.
y
a genind object.
n.sim
the number of permutations to be used to generate the reference distribution.
alter
a character string indicating the alternative hypothesis