theta.k.landscape {rmetasim} | R Documentation |
Calculate theta using number of alleles from a landscape.
theta.k.mat <- theta.k.landscape(rland)
rland |
the Rmetasim landscape object |
Uses routines in the package 'ape'
A matrix with num loci columns and num populations rows. Each element reflects the estimated theta for that population x locus combination
theta.h.landscape, theta.s.landscape
exampleland <- new.example.landscape() exampleland <- sim.landscape(exampleland, 4) library(ape) theta.k.mat <- theta.k.landscape(exampleland) theta.k.mat