powered by
Calculates the present value of an annuity.
af(l = 0, n, i)
0 for annuity due or 1 for annuity immediate.
A numeric value. The number of payments.
A numeric value. The interest rate.
# NOT RUN { af(0,10,0.03) af(1,15,0.05) # }
Run the code above in your browser using DataLab