loan: Creates an instance of a loan class

View source: R/CfFuncs.R

loanR Documentation

Creates an instance of a loan class

Description

Creates an instance of a loan class

Usage

loan(rate, maturity, amt, type, grace_int = 0, grace_amort = grace_int)

Arguments

rate

The periodic effective rate of the loan

maturity

The maturity of the loan, measured in the same units as the periodicity of the rate

amt

The amount loaned

type

The type of loan. Available types are c("bullet","french","german")

grace_int

The number of periods that the loan doesn't pay interest and capitalizes it. Leave in 0 for zero loans

grace_amort

The number of periods that the loan doesn't amortize

Examples

loan(rate = 0.05, maturity = 10, amt = 100, type = "bullet")

tvm documentation built on Aug. 30, 2023, 5:19 p.m.