View source: R/simer.Phenotype.r
generate.pop | R Documentation |
Generate population according to the number of individuals.
generate.pop(pop.ind = 100, from = 1, ratio = 0.5, gen = 1)
pop.ind |
the number of the individuals in a population. |
from |
initial index of the population. |
ratio |
sex ratio of males in a population. |
gen |
generation ID of the population. |
Build date: Nov 14, 2018 Last update: Apr 28, 2022
a data frame of population information.
Dong Yin
pop <- generate.pop(pop.ind = 100)
head(pop)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.