annuity | R Documentation |
annuity
Constructor method for simple Annuity contracts. If interest payments are set, the cycle of interest rate payments is the same as the cycle for annuity payments.
annuity(start, nominal, ir, annuity, annuityFreq, maturity, role)
start |
a character reflecting a start date of the annuity. |
nominal |
a numeric to set the notional principal of the annuity, default is 0.0. |
ir |
a numeric to set the nominal interest rate, default is 0.0. |
annuity |
a numeric to set the next principal redemption payment. |
annuityFreq |
a character reflecting the frequency of redemption payments, default is "1 year". |
maturity |
a character reflecting the maturity of the annuity, default is "0 years". |
role |
a character reflecting the contract role, default is "long". |
an Annuity contract with specified attributes.
ann <- annuity("2013-12-31", nominal = 50000, ir = 0.02, maturity = "5 years")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.