M_index_age | R Documentation |
M index accounting for diminishing returns to age.
M_index_age(r, t, t0 = 0, Samples = 1000)
r |
A vector of RS values. |
t |
A vector of ages at death or last census. |
t0 |
A vector of ages at first census. Defaults to zero. |
The M index accounting for diminishing returns to age.
set.seed(1)
RS = rpois(100, 5)
Age = rpois(100, 45)
M_index_age(RS, Age)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.