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

Share:

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))

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.