Learn R Programming

lifecontingencies (version 0.0.3)

accumulatedValue: Function to evalutate the deterministic accumulated value.

Description

Financial mathematic function to evaluate a series of payments of 1

Usage

accumulatedValue(interestRates, periods, type = "immediate")

Arguments

interestRates
Effective interest rate expressed in decimal form. E.g. 0.03 means 3%.
periods
Number of terms of payment.
type
A string, either "immediate" or "due".

Value

  • A numeric value representing the calculated cumulated value.

Warning

The function is provided as is, without any guarantee regarding the accuracy of calculation. We disclaim any liability for eventual losses arising from direct or indirect use of this software.

Details

At the moment no fractional payments have been influenced.

References

Broverman, S.A., Mathematics of Investment and Credit (Fourth Edition), 2008, ACTEX Publications.

See Also

annuity

Examples

Run this code
##$100 dollars saved per month after 10 years are...
##assume 2.00 percent effective yearly rate
##

ieff=(1+0.02)^(1/12)-1

100*accumulatedValue(interestRates=ieff, periods=12*10, type="immediate")

Run the code above in your browser using DataLab