FourPopDioecious: 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. Dioecious species.

Usage

1

Format

This dataset contains the objects N1_M, N1_F, sigma_M, sigma_F, phi_M, phi_F, mu, kappa0, delta and T_max.

N1_M and N1_F are a 3-D arrays giving the number of male and female individuals, respectively, of each genotype in each deme and each age-class at the beginning of the simulation. See FourPopMonoecious for a detailed description.

sigma_M, sigma_F, phi_M and phi_F give the male survival probability, female survival probability, male fecundity and female fecundity, respectively. See FourPopMonoecious for a detailed description.

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 FourPopDioecious 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 probabilities differ with sex.

Examples

1
2
3
4
data(FourPopDioecious)

# Run the simulation
N <- sim.metapopgen.dioecious(input.type="array",N1_M = N1_M, N1_F=N1_F, sigma_M=sigma_M, sigma_F=sigma_F, phi_F=phi_F, phi_M=phi_M, 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.