population_size_generation.RdGet the size of the population.
Note the generation_upper_bound_in_result parameter.
population_size_generation(population, is_female = TRUE, generation_upper_bound_in_result = -1L)
| population | Population to get size of |
|---|---|
| is_female | true to count females, false to count males |
| generation_upper_bound_in_result | Limit on generation to include in count; -1 means no limit. 0 only include the final generation. 1 only second last generation etc. |