npv: Net present value

Usage Arguments

View source: R/npv.R

Usage

1
npv(discount, cf, return_abs = FALSE)

Arguments

discount

Discount rate, as a percentage (eg "7" means 7

\item

cfVector of cash flows

\item

return_absWhether or not to return the absolute value of the net present value (only likely to be used if you are using this function as part of an internal rate of return calculation)

Net present value for a given stream of cash flows, number of years and discount rate, return the net present value


JiaxiangBU/irr2 documentation built on Jan. 20, 2020, 9:16 a.m.