knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  fig.path = "README-"
)

lifecontingencies

The goal of lifecontingencies is to perform demographics and actuarial mathematics stuff in R.

Installation

You can install lifecontingencies from github with:

# install.packages("devtools")
devtools::install_github("spedygiorgio/lifecontingencies")

Example

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)


spedygiorgio/lifecontingencies documentation built on Feb. 29, 2024, 2:59 p.m.