Learn R Programming

strataG (version 1.0.5)

theta: Theta

Description

Calculate theta from heterozygosity of each locus.

Usage

theta(g)

Arguments

g
a gtypes object.

Value

vector of theta values for each locus.

Details

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

Examples

Run this code
data(msats.g)

theta(msats.g)

Run the code above in your browser using DataLab