MarketInterestRate | R Documentation |
MarketInterestRate
Constructor for a YieldCurve
object with constant
rates for all tenors.
MarketInterestRate(rate, refDate, label, ...)
rate |
a numeric to set the constant market rate. |
date |
a character indicating the reference date. |
label |
a character to name the |
an object of type YieldCurve
.
yc_flat <- MarketInterestRate(0.05, "2015-01-01", "MarketRate")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.