irr_ia | R Documentation |
This R function calculates IRR for up to 3 different options.
irr_ia(project1 = NA, project2 = NA, project3 = NA, cf_t0)
project1 |
cashflow for project 1 |
project2 |
cashflow for project 2 |
project3 |
cashflow for project 3 |
cf_t0 |
cashflow at time 0, True if projects' cashflows vector include initial cashflow or False vice versa. |
Returns IRR for multiple projects
irr_ia(project1 = c(-20, 9),project2 = c(-10, 10), project3 = c(-10, 9),cf_t0 = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.