Description Usage Arguments Examples
Returns the index numbers for all values in an ascending vector between the floor of the x_ argument and the ceiling of the x + m_t_ arguments. This is a utility function often used for extracting the q_x values that are applicable to a subset of a LifeTable object.
1 | index(x, x_, m_t_ = 1)
|
x |
vector of ascending numerics |
x_ |
the index of the first x value to be returned. |
m_t_ |
the index of the last x value to be returned. This is oftern m_ + t_, m_ or t_ when the x_ argument is set to x_ + t_. |
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.