Description Usage Format Details Examples
Datasets of survival, fecundity, mutation, dispersal and initial population size for a four-deme metapopulation.
1 |
This dataset contains the objects demographic.data, mu, delta
and T_max
.
demographic.data
is a data frame containing survival probabilities and fecundities for each genotype, deme, age-class and time and the initial number of individuals for time = 1.
mu
is is the mutation matrix. See FourPopMonoecious
for a detailed description.
delta
is the dispersal matrix. See FourPopMonoecious
for a detailed description.
kappa0
is the carrying capacity. See the function sim.metapopgen.dioecious
for further details on this parameter.
T_max
is the number of years of simulation.
The FourPopDataFrameDioecious
dataset has one locus with 2 alleles (therefore, 3 genotypes), 4 demes and 6 age-classes. Survival and fecundities do not differ among demes, years or genotypes, but change with age.
1 2 3 4 | data(FourPopDataFrameDioecious)
# Run the simulation
N <- sim.metapopgen.dioecious(input.type="data.frame",demographic.data=demographic.data, mu=mu, delta=delta, kappa0=kappa0, T_max=T_max)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.