determineSex | R Documentation |
This internal function assigns sexes to the offspring in a generation based on the specified sex ratio.
determineSex(idGen, sexR)
idGen |
Vector of IDs for the generation. |
sexR |
Numeric value indicating the sex ratio (proportion of males). |
Vector of sexes ("M" for male, "F" for female) for the offspring.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.