landscape.theta.k: Calculate theta using the number of alleles

Description Usage Arguments Details Value See Also Examples

View source: R/pegas_interface.R

Description

Calculate theta using number of alleles from a landscape.

Usage

1

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.h, landscape.theta.s

Examples

1
2
3
4
5
  exampleland <- landscape.new.example()
  exampleland <- landscape.simulate(exampleland, 4)

  theta.k.mat <- landscape.theta.k(exampleland)
  theta.k.mat

rmetasim documentation built on Nov. 17, 2017, 7:09 a.m.