cohort {demogR}R Documentation

cohort

Description

Dummy function called in life.table.

Usage

cohort(width12)

Arguments

width12

width of the first two age classes

Details

This is essentially a place-holder function used when passing the option type="cohort" to life.table.

Value

A two element vector representing the first two values of the nax column of the life table.

See Also

life.table

Examples

data(thar)
thar.lt <- with(thar, life.table(x=age, nDx=deaths, nKx=count, 
    type="cohort", iwidth=1, width12=c(1,1)))
thar.lt

[Package demogR version 0.6.0 Index]