Description Usage Arguments See Also Examples

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

1 | ```
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 |

1 |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.