interest2Intensity: Function to obtain the force of interest from APR
Description
This function calculates the force of interest from an annual effective interest rate.Usage
interest2Intensity(interest)
Arguments
interest
A numeric value representing the APR
Value
- A numeric value representing the calculated force of interest.
Warning
This package is provided as is, without any guarantee regarding the accuracy of calculations. The author disclaims any liability arising by
any eventual losses arising from direct or indirect use of this package.Details
This function has been written for convenience and future usage (e.g. implementing continuous annuities).References
Broverman, S.A., Mathematics of Investment and Credit (Fourth Edition),
2008, ACTEX Publications.Examples
Run this code#an intestest of 0.02 corresponds to a force of interest of of
interest2Intensity(interest=0.02)
Run the code above in your browser using DataLab