FourPopDataFrameMonoecious: Example datasets for a four-deme monoecious metapopulation,...

Description Usage Format Details Examples

Description

Dataset of survival, fecundity, mutation, dispersal, initial population size and number of years of simulation for a four-deme metapopulation.

Usage

1

Format

This dataset contains the objects demographic.data, mu, kappa0, 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.monoecious for further details on this parameter.

T_max Number of years of simulation.

Details

The FourPopDataFrameMonoecious 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. Survival increases from 0.4 at age 1 to 0.6 at ages 3-6. Fecundity is zero from age 1 to age 4, is moderate at age 5 and is maximal at age 6.

Examples

1
2
3
4
data(FourPopDataFrameMonoecious)

# Run the simulation
N <- sim.metapopgen.monoecious(input.type="data.frame",demographic.data=demographic.data, mu=mu, delta=delta, kappa0=kappa0)

MarcoAndrello/MetaPopGen_0.0.8 documentation built on May 25, 2019, 12:23 p.m.