View source: R/simer.Reproduces.r
IndPerGen | R Documentation |
Calculate the individual number per generation.
IndPerGen(
pop,
pop.gen = 2,
ps = c(0.8, 0.8),
reprod.way = "randmate",
sex.rate = 0.5,
prog = 2
)
pop |
the population information containing environmental factors and other effects. |
pop.gen |
the generations of simulated population. |
ps |
if ps <= 1, fraction selected in selection of males and females; if ps > 1, ps is number of selected males and females. |
reprod.way |
reproduction method, it consists of 'clone', 'dh', 'selfpol', 'randmate', 'randexself', 'assort', 'disassort', '2waycro', '3waycro', '4waycro', 'backcro', and 'userped'. |
sex.rate |
the sex ratio of simulated population. |
prog |
the progeny number of an individual. |
Build date: Apr 12, 2022 Last update: Apr 30, 2022
the vector containing the individual number per generation.
Dong Yin
pop <- generate.pop(pop.ind = 100)
count.ind <- IndPerGen(pop)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.