Generic method for popsample
popsample(age_pyramid, size, age_max = 120, time = 0)
Age pyramid.
A non-negative integer giving the number of individuals in population.
(Optional) A non-negative numeric which replace (if exists) the Inf
in age_pyramid.population
.
(Optional) The age pyramid is computed at instant time
. Must be a numeric greater than or equal to 0.
Object of population
class representing a data frame of size size
containing a population of individuals.