Description Usage Arguments Details Value See Also Examples
View source: R/pegas_interface.R
Calculate theta using number of alleles from a landscape.
1 | landscape.theta.k(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
landscape.theta.h, landscape.theta.s
1 2 3 4 5 | exampleland <- landscape.new.example()
exampleland <- landscape.simulate(exampleland, 4)
theta.k.mat <- landscape.theta.k(exampleland)
theta.k.mat
|
[,1] [,2] [,3]
[1,] 1.0468790 0.4391999 1.29517
[2,] 0.9062843 0.4942971 1.46612
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.