FourPopDataFrameDioecious: Example datasets for a four-deme dioecious metapopulation,...

Description Usage Format Details Examples

Description

Datasets of survival, fecundity, mutation, dispersal and initial population size for a four-deme metapopulation.

Usage

1

Format

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.

Details

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.

Examples

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)

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