This is a function to generate the number of offspring produced per generation. Assumes a mixed mating system where both selfing and outcrossing occur. Also allows group-based assortative mating (see Otto et al. 2008). This function prevents selfing from occurring during outcrossing.
Arguments
- cgen
Number of mature individuals of each cytotype in the current generation. Must be a list of three numeric values. For example,
cgen = c(100, 100, 100)
.- b
Proportion of unreduced gamete formed by each diploid and tetraploid individual. Must be a single integer between 0 and 1.
- cc
Proportion of 3n gamete formation from each triploid individual. Must be a single integer between 0 and 1.
- gnum.vec
The mean number of gametes produced by each individual for each cytotype. Must be a list of three numeric values. For example,
gnum.vec = c(100, 100, 100)
.- s
Selfing rate. Must be a single integer between 0 and 1.
- mc
Strength of mating choice. Must be a single integer between 0 and 1.