theta: Theta

Description Usage Arguments Details Value Author(s) Examples

View source: R/theta.R

Description

Calculate theta from heterozygosity of each locus.

Usage

1
theta(g, by.strata = FALSE)

Arguments

g

a gtypes object.

by.strata

logical - return results grouped by strata?

Details

Calculates theta for each locus using the theta.h function.

Value

vector of theta values for each locus.

Author(s)

Eric Archer eric.archer@noaa.gov

Examples

1
2
3

strataG documentation built on Feb. 28, 2020, 9:07 a.m.