Function File: irr (p, i)

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.

See also: npv, pv, rate.

Package: financial