npv_ia | R Documentation |
This R function calculate NPV for up to 3 different options.
npv_ia(project1 = NA, project2 = NA, project3 = NA, r, cf_t0)
project1 |
cashflow for project 1 |
project2 |
cashflow for project 2 |
project3 |
cashflow for project 3 |
r |
nominal interest rate convertible ic times per period |
cf_t0 |
cashflow at time 0, True if projects' cashflows vector include initial cashflow or False vice versa. |
Returns NPV for multiple projects
npv_ia(project1 = c(-20, 9),project2 = c(-10, 10), project3 = c(-10, 9),r = 0.05,cf_t0 = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.