Learn R Programming

tvm (version 0.1)

loan: Constructor for the loan class

Description

Creates a loan

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