reverse.irr: The reverse.irr function

Description Usage Arguments Value Examples

View source: R/LeaseFunctions.R

Description

This function calculates the irr of a lease (as if it was a loan) given an initial value and a payment schedule, used here as a helper for asset.val

Usage

1
reverse.irr(init.val, pay.schedule)

Arguments

init.val

is the starting value of the lease, or the amount of money lent

pay

schedule is a vector of payments in the lease, make sure it has no gaps in the schedule

Value

a number representing the IRR of the inputs

Examples

1
reverse.irr(init.val = 1200, pay.schedule = rep(200,10))

ksyan/CreddaLeases documentation built on May 20, 2019, 7:04 p.m.