ggplot2-support {fixedincome} | R Documentation |
ggplot2 plotting functions
Description
Functions to plot fixedincome objects using ggplot2 package and its grammar of graphics.
Usage
## S3 method for class 'SpotRateCurve'
autoplot(
object,
...,
curve.name = NULL,
curve.geom = c("line", "point"),
curve.interpolation = FALSE,
curve.x.axis = c("dates", "terms")
)
## S3 method for class 'SpotRateCurve'
autolayer(
object,
...,
curve.name = NULL,
curve.geom = c("line", "point"),
curve.interpolation = FALSE,
curve.x.axis = c("dates", "terms")
)
## S3 method for class 'ForwardRate'
autolayer(
object,
...,
curve.name = NULL,
curve.geom = c("step", "line", "point"),
curve.x.axis = c("dates", "terms")
)
Arguments
object |
SpotRateCurve or ForwardRate objects |
... |
additional arguments passed to ggplot2 geom_* functions |
curve.name |
Curve's name |
curve.geom |
Curve geom used: |
curve.interpolation |
logical indicating to use curve interpolation in
the plot. Defaults to |
curve.x.axis |
x axis can be presented with a numeric scale representing
business days ( |
[Package fixedincome version 0.0.5 Index]