powered by
Calculates the internal rate of return of a series of cash flows.
calc_irr(cashflows, guess = 0.1)
Internal rate of return.
Vector of cash flows (first is typically negative investment).
Initial guess for IRR (default = 0.1).
calc_irr(cashflows = c(-1000, 300, 400, 500))
Run the code above in your browser using DataLab