| Compounding-class {fixedincome} | R Documentation |
Compounding class
Description
The Compounding class abstracts the compounding regime used to discount or compound a spot rate.
Details
There are 3 compoundings:
-
simplefor simple interest rate compounding1 + rt -
discretefor compounded interest rate compounding(1 + r)^t -
continuousfor continuous interest rate compoundingexp(rt)
The Compounding class has 2 methods:
-
compoundto compound the spot rate for a given term. -
ratesto compute the implied rate for a compound factor in a given term.
[Package fixedincome version 0.0.5 Index]