loan | R Documentation |
loan
Constructor method for simple LinearAmortizer contracts.
loan(start, maturity, nominal, ir, irFreq, role, amortFreq, amort)
start |
a character reflecting the start date of the loan. |
maturity |
a character reflecting the maturity of the loan, default is "0 years". |
nominal |
a numeric to set the notional principal of the loan, default is 0.0. |
ir |
a numeric to set the nominal interest rate, default is 0.0. |
irFreq |
a character reflecting the frequency of interest rate payments, default is "1 year". |
role |
a character reflecting the contract role. default is "long". |
amortFreq |
a character reflecting the frequency of principal redemption payments, default is "1 year". |
amort |
a numeric to set the amount of principal redemption. |
a LinearAmortizer contrat with specified attributes.
l <- loan("2013-12-31", maturity = "5 years", nominal = 50000,
ir = 0.02, irFreq = "1 years", amortFreq = "1 years")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.