Computes payback period, net present value, internal rate of return equivalent annual annuity, profitability and break even period.

ivt_payback_period(cash_flow)

ivt_npv(cash_flow, capital_cost)

ivt_eaa(cash_flow, capital_cost)

ivt_profit_index(cash_flow, capital_cost)

ivt_break_even(cash_flow)

Arguments

cash_flow

Cash flow over the project life.

capital_cost

Cost of capital.

Examples

ivt_payback_period(c(-1000, 500, 400, 300, 200, 100))
#> [1] 3
ivt_npv(c(-1000, 500, 400, 300, 200, 100), 10)
#> [1] 209.2132
ivt_eaa(c(-1000, 500, 400, 300, 200, 100), 10)
#> [1] 55.18992
ivt_profit_index(c(-1000, 500, 400, 300, 200, 100), 10)
#> [1] 1.209213
ivt_break_even(c(-1000, 500, 400, 300, 200, 100))
#> [1] 3