calc_irr: Internal Rate of Return (IRR)

View source: R/calculators.R

calc_irrR Documentation

Internal Rate of Return (IRR)

Description

Calculates the internal rate of return of a series of cash flows.

Usage

calc_irr(cashflows, guess = 0.1)

Arguments

cashflows

Vector of cash flows (first is typically negative investment).

guess

Initial guess for IRR (default = 0.1).

Value

Internal rate of return.

Examples

calc_irr(cashflows = c(-1000, 300, 400, 500))


brfinance documentation built on Feb. 19, 2026, 9:06 a.m.