Description Usage Arguments Details Value Author(s) References See Also Examples
View source: R/demosimhybrid.R
This model simulates the proportions of parentals, F1, F2, Fx and backcross (on both sides) individuals for each generation and takes into account the initial frequencies of parentals, the assortative mating among taxa as well as fitness differences.
1 | demosimhybrid(x,M,F)
|
x |
A vector indicating the initial abundances in the population.The vector should sum 1. The order of abundances is: ParentalA, ParentalB, F1, BxA, BxB and Fx |
M |
Matrix assortative mating.The size is 6x6 following the same order tan vector x. By default random mating (all = 1) |
F |
A vector indicating the diferent fecundities of the parentals and hybrids. The vector size is 6 following the same order tan vector x. By default equal fecundities (all = 1) |
This function simulate the model of introgresive hibridization of Epifanio and Philipp (2000)
a object demosimhybrid
. An matrix of abundances in each generation
Francisco Balao fbalao@us.es; Marcial Escudero; J.L. García-Castaño
Epifanio, J. & D. Philipp. 2000. Simulating the extinction of parental lineages from introgressive hybridization: the effects of fitness, initial proportions of parental taxa, and mate choice. Reviews in Fish Biology and Fisheries 10: 339-354.
1 2 3 4 5 6 7 8 9 10 11 12 13 | ## Example 1. Simulation under parental proportions,
## similar fecundities and random mating
inivalues<-c(0.5,0.5,0,0,0,0)
epi0.5<-demosimhybrid(inivalues)
epi0.5
## Example 2. Simulation under higher frecuency of parental B,
## and higher fecundy of parental A and random mating
inivalues2<-c(0.25,0.75,0,0,0,0)
fecundities<-c(1,0.5,0.5,0.5,0.5,0.5)
epi0.75<-demosimhybrid(x=inivalues, F=fecundities)
epi0.75
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.