Description Usage Arguments Value Author(s) Examples
Simulate data under the model assumed by the MCMC inference program
1 | SimTangleData(mod, theta, nsite, nloc, nind,nalM, nalm, var.par, scale.par)
|
mod |
A character string equal to "G+E", "G", "E" |
theta |
A vector of length 5 containing values for (alpha,beta_G,beta_E,gamma,delta) |
nsite |
Number of geographical locations |
nloc |
Number of loci |
nind |
Haploid population size at each combination location x locus |
nalM |
Maximum number of alleles over the various loci |
nalm |
Minimum number of alleles over the various loci |
var.par |
Variance of the random field model for the environmental variable |
scale.par |
Scale parameter in the exponential covariance of the random field model for the environmental variable |
A list containing genotypes, geographical distance, environmental distances, model and parameters.
Filippo Botta
1 | data(toydata,package='GeoGenetix')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.