landscape.obs.het: Calculate observed heterozygosity

Description Usage Arguments Value See Also Examples

Description

Calculate observed heterozygosity from a landscape

Usage

1
  hetmat <- landscape.obs.het(rland)

Arguments

rland

the Rmetasim landscape object

Value

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

See Also

landscape.exp.het, landscape.Fst

Examples

1
2
3
4
#  exampleland <- landscape.new.example()
#  exampleland <- landscape.simulate(exampleland, 4)
#  obshet <- landscape.obs.het(exampleland)
#  rm(exampleland)

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