A ForwardRate
object can be created from a SpotRate
object and
a SpotRateCurve
.
as.forwardrate(x, ...)
# S3 method for SpotRate
as.forwardrate(x, terms, refdate = NULL, ...)
# S3 method for SpotRateCurve
as.forwardrate(x, t1 = NULL, t2 = NULL, ...)
a SpotRate
or a SpotRateCurve
object.
additional arguments
a numeric with positive values representing terms or a Term object.
the curve reference date.
initial term
final term
A ForwardRate
object created from another object, SpotRate
or
SpotRateCurve
.