as.spotratecurve {fixedincome} | R Documentation |
Coerce objects to spotratecurve
Description
A SpotRateCurve can be created from a ForwardRate
object.
Usage
as.spotratecurve(x, ...)
## S3 method for class 'ForwardRate'
as.spotratecurve(x, refdate = Sys.Date(), ...)
Arguments
x |
a ForwardRate object. |
... |
additional arguments |
refdate |
the curve reference date. |
Value
A SpotRateCurve
object create from another object.
[Package fixedincome version 0.0.5 Index]