rate: The rate of a loan with constant payments (french type...

Usage Arguments Details Examples

Usage

1
rate(amt, maturity, pmt, extrema = c(1e-04, 1e+09), tol = 1e-04)

Arguments

amt

The amount of the loan

maturity

The maturity of the loan

pmt

The payments of the loan

extrema

Vector of length 2 that has the minimum and maximum value to search for the rate

tol

The tolerance to use in the root finding algorithm

Details

The periodicity of the maturity and the payment must match, and this will be the periodicity of the rate (which is returned as an effective rate)

Examples

1
rate(amt = 100, maturity = 10, pmt = 15)

juancentro/tvm documentation built on May 20, 2019, 3:18 a.m.