npv: Computing NPV, the PV of the cash flows less the initial (time = 0) outlay

Description

Computing NPV, the PV of the cash flows less the initial (time = 0) outlay

Usage

1
npv(r, cf)

Arguments

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

See Also

pv.simple

pv.uneven

irr

Examples

1
npv(r=0.12, cf=c(-5, 1.6, 2.4, 2.8))

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.