Learn R Programming

strataG (version 2.0.2)

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
# NOT RUN {
data(msats.g)

theta(msats.g)

# }

Run the code above in your browser using DataLab