% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/chapter18_pensions.R
\name{AB_fas}
\alias{AB_fas}
\title{Accrued benefit for a final average salary plan}
\usage{
AB_fas(salary_history, p, fas_years = 3)
}
\arguments{
\item{salary_history}{Numeric vector of annual salaries to date.}

\item{p}{Accrual percentage, e.g. \code{2} for 2 percent.}

\item{fas_years}{Number of years in the final average salary average.}
}
\value{
Accrued benefit.
}
\description{
Computes the accrued benefit at the current date using service and salary
history only.
}
\examples{
AB_fas(salary_history = c(150000, 156000), p = 1, fas_years = 2)
}
