af {DetLifeInsurance} | R Documentation |
Calculates the present value of an annuity.
af(l = 0, n, i)
l |
0 for annuity due or 1 for annuity immediate. |
n |
A numeric value. The number of payments. |
i |
A numeric value. The interest rate. |
af(0,10,0.03)
af(1,15,0.05)