xlxmx: builds an average life table from a set of individuals
Description
Calculates a life table with three columns, x, lx mx from the age specific birth data of a set of individuals. Called by petitr, but may be used as standalone function.
Usage
xlxmx(X, s)
Arguments
X
a data.frame. See petitr
s
Sex ratio expressed as the proportion of females in the population
Value
a data.frame with three columns, x (age), lx (survival at age x), mx (birth rate at age x)