Description Usage Arguments Value Examples
Creates an array, which contains a 1
for every heterozygous and a 0
for
every homozygous individual. The array has a similar structure like that after the
simulation, but the first dimension is only the number of individuals.
1 |
pop |
The array containing the simulation from |
An array that indicates whether an individual is heterozygous
1 2 | p <- simulation()
h <- heterozygous_individuals(pop = p)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.