npv {FinCal} | R Documentation |
Computing NPV, the PV of the cash flows less the initial (time = 0) outlay
npv(r, cf)
r |
discount rate, or the interest rate at which the amount will be compounded each period |
cf |
cash flow,the first cash flow is the initial outlay |
npv(r=0.12, cf=c(-5, 1.6, 2.4, 2.8))