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 May 20, 2017, 12:20 a.m.

Search within the rmetasim package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.