landscape.theta.h: Calculate theta using heterozygosity

Description Usage Arguments Details Value See Also Examples

Description

Calculate theta from a landscape based upon heterozygosity.

Usage

1
 theta.h.mat <- landscape.theta.h(rland)

Arguments

rland

the Rmetasim landscape object

Details

Uses routines in the package 'ape'

Value

A matrix with num loci columns and num populations rows. Each element reflects the estimated theta for that population x locus combination

See Also

landscape.theta.k, landscape.theta.s

Examples

1
2
3
4
#  exampleland <- landscape.new.example()
#  exampleland <- landscape.simulate(exampleland, 4)
#   landscape.theta.h(exampleland)
  

stranda/kernelPop2 documentation built on March 30, 2020, 5:37 a.m.