An S4 class to represent a life table
xa length n ascending numeric vector
q_xa length n numeric vector for probability of death at each element of x. The final q_x should be set to NA. This is done to remove ambiguity associated with not having the length of the last x value on most actuarial tables having a specified duration.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.