Description Usage Arguments Value
The continuous discount function calculates NPV as the sum of the following for each cash flow CF at point in time t: e^(-rt) where r is the interest rate. The IRR is the interest rate for which the NPV = 0.
1 | convertVectorToFunction(irr, vect, dates)
|
irr |
The unknown IRR variable to be solved for. |
vect |
A vector with the cashflows to be analysed. |
dates |
A vector with dates as fractions of years corresponding to the cashflows. |
A function for the NPV in the current case with an unknown interest rate to be solved for.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.