View source: R/Mraw_Index_Age.R
Mraw_index_age | R Documentation |
Mraw index accounting for diminishing returns to age.
Mraw_index_age(r, t, t0 = 0)
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 Mraw index accounting for diminishing returns to age.
set.seed(1)
RS = rpois(100, 5)
Age = rpois(100, 45)
Mraw_index_age(RS, Age)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.