population_alive

0th

Percentile

Returns a population of individuals alive.

Returns a population of individuals alive.

Usage
population_alive(population, t, a1 = 0, a2 = Inf)
Arguments
population

A population data frame containing at least a column 'birth' and 'death'.

t

A numeric indicating the time.

a1

0 by default. All individuals of age over a1 at t are selected.

a2

Inf by default. All individuals of age below a2 at t are selected.

Value

The function returns a population data frame containing all individuals alive at time t and of age in [a1,a2).

Aliases
  • population_alive
Documentation reproduced from package IBMPopSim, version 0.3.0, License: MIT + file LICENSE

Community examples

Looks like there are no examples yet.