cohort: cohort

Description Usage Arguments Details Value See Also Examples

Description

Dummy function called in life.table.

Usage

1
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

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

hanase/demogR documentation built on May 9, 2019, 7:33 p.m.