ggplot2-support | R Documentation |
Functions to plot fixedincome objects using ggplot2 package and its grammar of graphics.
## 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")
)
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 ( |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.