popsample: Generic method for popsample

View source: R/pyramid.R

popsampleR Documentation

Generic method for popsample

Description

Generic method for popsample

Usage

popsample(age_pyramid, size, age_max = 120, time = 0)

Arguments

age_pyramid

Age pyramid.

size

A non-negative integer giving the number of individuals in population.

age_max

(Optional) A non-negative numeric which replace (if exists) the Inf in age_pyramid.population.

time

(Optional) The age pyramid is computed at instant time. Must be a numeric greater than or equal to 0.

Value

Object of population class representing a data frame of size size containing a population of individuals.


IBMPopSim documentation built on Oct. 15, 2024, 5:07 p.m.