powered by
Financial functions from Excel. These functions are equivalent to the Excel functions of the same name (in uppercase).
npv(rate, values)irr(x, start = 0.1)fv(rate, nper, pmt, pv = 0, type = 0)pv(rate, nper, pmt, fv = 0, type = 0)pmt(rate, nper, pv, fv = 0, type = 0)
irr(x, start = 0.1)
fv(rate, nper, pmt, pv = 0, type = 0)
pv(rate, nper, pmt, fv = 0, type = 0)
pmt(rate, nper, pv, fv = 0, type = 0)
Discount or interest rate.
Income stream.
Cash flow.
Initial guess to start the iterative process.
Number of periods
Payments.
Present value.
Factor.
Future value.
Enrique Garcia M. egarcia@egm.as
Karsten W. k.weinert@gmx.net
npv(0.07, c(1, 2)) irr(x = c(1, -1), start = 0.1) fv(0.04, 7, 1, pv = 0.0, type = 0) pv(rate = 0.08, nper = 7, pmt = 1, fv = 0.0, type = 0) pmt(rate = 0.025, nper = 7, pv = 0, fv = 0.0, type = 0)
Run the code above in your browser using DataLab