Return the internal rate of return of a series of payments p from an initial investment i (i.e., the solution of npv (r, p) = i. If the second argument is omitted, a value of 0 is used.
npv (r, p) = i
See also: npv, pv, rate.
Package: financial