Description Usage Arguments Value Examples
Creates an object of class ircurve which represents in interest rates curve. The curve cosists of interest rates and is of type either "forward" or "spot". The interest rates curve can be for monthly or yearly periods.
1 | as_ircurve(rates = double(), type = "forward", period = "year")
|
rates |
vector of rates |
type |
"forward" or "spot" |
period |
"year" or "month" |
Interest rates curve, an object of class ircurve.
1 2 | as_ircurve(c(0.01, 0.015))
as_ircurve(c(0.002, 0.001), type = "spot", period = "month")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.