knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "README-" )
The goal of lifecontingencies is to perform demographics and actuarial mathematics stuff in R.
You can install lifecontingencies from github with:
# install.packages("devtools") devtools::install_github("spedygiorgio/lifecontingencies")
This is a basic example which shows you how to solve a common problem:
## basic example code require(lifecontingencies) ##computing a term life insurance data("soa08Act") Axn(actuarialtable = soa08Act, x=40, n=25)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.