View source: R/forwardrate-class.R
as.forwardrate | R Documentation |
A ForwardRate
object can be created from a SpotRate
object and
a SpotRateCurve
.
as.forwardrate(x, ...)
## S3 method for class 'SpotRate'
as.forwardrate(x, terms, refdate = NULL, ...)
## S3 method for class 'SpotRateCurve'
as.forwardrate(x, t1 = NULL, t2 = NULL, ...)
x |
a |
... |
additional arguments |
terms |
a numeric with positive values representing terms or a Term object. |
refdate |
the curve reference date. |
t1 |
initial term |
t2 |
final term |
A ForwardRate
object created from another object, SpotRate
or
SpotRateCurve
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.