Hes: Estimate expected heterozygosity Returns the general expected...

Description Usage Arguments Value Author(s) Examples

View source: R/hes.R

Description

Estimate expected heterozygosity

Returns the general expected heterozygosity parameter from the frequencies

Usage

1
Hes(x, stratum = "Population", small.N = FALSE)

Arguments

x

Either a data.frame object with locus objects or a vector or locus objects.

stratum

This optional argument makes He estimate Nei's Hs parameter taking into consideration population subdivision. This is an unbiased estimator.

small.N

Apply the 2N/(2N-1) correction to the data for small sample sizes.

Value

The expected heterozygosity as a numeric or a data.frame if several loci are passed.

Author(s)

Rodney J. Dyer rjdyer@vcu.edu

Examples

1
2

MarianaLag/Mlag documentation built on Feb. 13, 2020, 12:30 a.m.