Learn R Programming

tvm (version 0.1)

irr: Internal Rate of Return of a cashflow (IRR)

Description

The IRR is returned as an effective rate with periodicity equal to that of the cashflow

Usage

irr(cf, t = seq(from = 0, by = 1, along.with = cf))

Arguments

cf
The cashflow
t
The times on which the cashflow ocurrs. It is assumed that cf[idx] happens at moment t[idx]