% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/multilife_ch12.R
\name{last_survivor_insurance}
\alias{last_survivor_insurance}
\alias{Axybarn1}
\alias{Axybarn}
\alias{Axybar}
\title{Last-survivor insurance functions}
\usage{
Axybarn1(x, y, n, i, tbl = NULL, model = NULL, ...)

Axybarn(x, y, n, i, tbl = NULL, model = NULL, ...)

Axybar(x, y, i, tbl = NULL, model = NULL, ..., k_max = 5000L, tol = 1e-12)
}
\arguments{
\item{x}{Age of the first life. May be scalar or vector.}

\item{y}{Age of the second life. May be scalar or vector.}

\item{n}{Term in years. May be scalar or vector.}

\item{i}{Effective annual interest rate. May be scalar or vector.}

\item{tbl}{Optional life table object.}

\item{model}{Optional parametric survival model.}

\item{...}{Additional parameters passed to the survival model or
life-table functions.}

\item{k_max}{Maximum number of terms used for an infinite series.}

\item{tol}{Numerical tolerance used to assess convergence.}
}
\value{
A numeric vector of actuarial present values.
}
\description{
Computes temporary and whole-life insurance values for two lives under
the last-survivor status.
}
\details{
\code{Axybarn1()} computes temporary insurance payable at the second
death within the term.

\code{Axybarn()} computes last-survivor endowment insurance.

\code{Axybar()} computes last-survivor whole-life insurance.
}
