xlxmx: builds an average life table from a set of individuals

Description Usage Arguments Value Author(s) References See Also Examples

View source: R/xlxmx.R

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

1
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)

Author(s)

Jean-Sebastien Pierre jean-sebastien.pierre@univ-rennes1.fr

References

Lotka 1924, Birch 1948

See Also

r, and petitr, called by ranova

Examples

1
2
data(life)
tablif=xlxmx(life,s=1)

Example output



petitr documentation built on May 2, 2019, 6:42 a.m.

Related to xlxmx in petitr...