View source: R/rms.init.land.function.R
Initialize a landscape object
1 2 3 4 5 6 | rms.init.landscape.func(num.pops = NULL, carrying = NULL,
sample.size = NULL, mig.rates = NULL, num.loc = NULL, loc.type = NULL,
mut.rate = NULL, seq.length = NULL, num.stgs = NULL, selfing = NULL,
surv.matr = NULL, repr.matr = NULL, male.matr = NULL,
init.pop.sizes = NULL, num.gen = NULL, num.alleles = NULL,
allele.freqs = NULL)
|
num.pops |
number of populations to simulate |
carrying |
maximum population sizes for each population |
sample.size |
size of sample to be pulled from each population |
mig.rates |
a list of among-population migration matrices |
num.loc |
number of independently segregating loci |
loc.type |
sequence or microsatellite |
mut.rate |
per gene mutation rate |
seq.length |
if simulating a sequence, the length of the molecule |
num.stgs |
number of demographic stages in a population |
selfing |
selfing rate (must range from 0 [random mating] to 1 [complete selfing] |
surv.matr |
within pop survival matrices |
repr.matr |
within pop reproduction matrices |
male.matr |
with pop male repro matrices |
init.pop.sizes |
starting population sizes |
num.gen |
number of generations to simulate |
num.alleles |
vector of the number of alleles per locus |
allele.freqs |
list of allele freqs for each locus (range 0-1) |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.