| calc_irr | R Documentation |
Calculates the internal rate of return of a series of cash flows.
calc_irr(cashflows, guess = 0.1)
cashflows |
Vector of cash flows (first is typically negative investment). |
guess |
Initial guess for IRR (default = 0.1). |
Internal rate of return.
calc_irr(cashflows = c(-1000, 300, 400, 500))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.