Learn R Programming

demogR (version 0.6.0)

keyfitz: keyfitz

Description

Utility used by life.table to graduate the person-years lived by those dying in the interval by the method of Keyfitz and Flieger (1990).

Usage

keyfitz(b0, nMx)

Arguments

b0

two element vector of regression coefficients provided in Keyfitz and Flieger (1990). Default value: b0=c(0.07,1.7).

nMx

period central death rates: =nDx/nKx.

Value

The first two values (age classes 0-1 and 1-5) of the nax column of a period life table.

Details

Utility function called by life.table.

References

Keyfitz, N., and W. Flieger. 1990. World population growth and aging: Demographic trends in the late twentieth century. Chicago: University of Chicago Press.

See Also

life.table

Examples

Run this code
# NOT RUN {
data(goodman)
## default type="kf"
vlt <- with(goodman, life.table(x=age, nKx=ven.nKx, nDx=ven.nDx))


# }

Run the code above in your browser using DataLab