q1to5 | R Documentation |
q1to5
converts 1-year life table probabilities of dying 1qx to standard 5-year age groups: 0, 1-4, 5-9, etc.
q1to5(q1)
q1 |
Decimal: the input values for 1qx; either a single vector or a matrix, age x life table. |
Data frame: equivalent values for 5qx.
Samuel J. Clark, work@samclark.net
q1 <- predictLT("female",0.08,out5=FALSE) q1to5(q1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.