rem: Remaining capital in a loan

Description Usage Arguments Examples

View source: R/CfFuncs.R

Description

The amount that has to be repayed at each moment in a loan, at the end of the period

Usage

1
rem(cf, amt, r)

Arguments

cf

The cashflow of the loan, not including the initial inflow for the loan taker

amt

The original amount of the loan

r

The periodic rate of the loan

Examples

1
rem(cf = rep_len(0.4, 4), amt = 1, r = 0.2)

Example output

[1]  0.8000  0.5600  0.2720 -0.0736

tvm documentation built on April 21, 2021, 9:07 a.m.