Description Usage Arguments Details See Also
S3 plot method for an object of the class "s_curves"
.
1 2 3 4 5 6 | ## S3 method for class 's_curves'
plot(x, xlim = c(range(mapply(function(i) range(x[[i]][, 1]), seq(x)))),
ylim = c(range(mapply(function(i) range(x[[i]][, 2]),
seq(x)))) * 10000, expoints = NULL,
xlab = "Maturity (years)", ylab = "Spread (basis points)",
lwd = 2, lty = 1, main = "Spread curves", ...)
|
x |
object of the class |
ylim |
the y limits of the plot, for details see |
xlim |
the x limits of the plot, for details see |
lty |
the line type, for details see |
lwd |
the line width, for details see |
expoints |
extrapolation points (default: |
ylab |
a label for the y axis, for details see |
xlab |
a label for the x axis, for details see |
main |
a main title for the plot, for details see |
... |
other graphical parameters, see |
The spread curves (the difference of zero-coupon yield curves) are plotted, if at least two groups of bonds were specified.
plot.df_curves
, plot.fwr_curves
, plot.spot_curves
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.