npv | R Documentation |
Net Present Value of a periodic cashflow (NPV)
npv(i, cf, ts = seq(from = 0, by = 1, along.with = cf))
i |
The rate used to discount the cashflow. It must be effective and with a periodicity that matches that of the cashflow |
cf |
The cashflow |
ts |
The times on which the cashflow occurs. It is assumed that |
The net present value at
npv(i = 0.01, cf = c(-1, 0.5, 0.9), ts = c(0, 1, 3))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.