powered by
Creates an instance of a loan class
loan(rate, maturity, amt, type, grace_int = 0, grace_amort = grace_int)
The periodic effective rate of the loan
The maturity of the loan, measured in the same units as the periodicity of the rate
The amount loaned
The type of loan. Available types are c("bullet","french","german")
c("bullet","french","german")
The number of periods that the loan doesn't pay interest and capitalizes it. Leave in 0 for zero loans
The number of periods that the loan doesn't amortize
loan(rate = 0.05, maturity = 10, amt = 100, type = "bullet")
Run the code above in your browser using DataLab