convertVectorToFunction: Convert a vector of cashflows into a continuous discount...

Description Usage Arguments Value

Description

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.

Usage

1
convertVectorToFunction(irr, vect, dates)

Arguments

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.

Value

A function for the NPV in the current case with an unknown interest rate to be solved for.


caeh17/Financial-Calculator documentation built on May 20, 2019, 1:13 p.m.