cohort {demogR} | R Documentation |
Dummy function called in life.table
.
cohort(width12)
width12 |
width of the first two age classes |
This is essentially a place-holder function used when passing the
option type="cohort"
to life.table
.
A two element vector representing the first two values of the nax column of the life table.
data(thar)
thar.lt <- with(thar, life.table(x=age, nDx=deaths, nKx=count,
type="cohort", iwidth=1, width12=c(1,1)))
thar.lt