Description Usage Arguments Value Examples
Changes the type of an interest rates curve (object of class ircurve) from forward to spot or vice versa.
1 | change_type(ircurve, to)
|
ircurve |
an object of class ircurve |
to |
"forward" or "spot" |
An object of class ircurve with changed type.
1 2 | my_ircurve <- as_ircurve(c(0.1, 0.2, 0.3), type = "spot")
change_type(my_ircurve, to = "forward")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.