plot.spot_curves {termstrc}R Documentation

S3 Plot Method

Description

S3 plot method for an object of the class "spot_curves".

Usage

## S3 method for class 'spot_curves':
plot(x, multiple = FALSE,
        ylim = c(range(mapply(function(i) range(x[[i]][, 2]),
        seq(x)))) * 100, xlim = c(), type = "l", lty = 1, 
        lwd = 2, expoints = NULL, ylab = "Zero-coupon yields (percent)",
        xlab = "Maturity (years)", main = "Zero-coupon yield curves", ...)

Arguments

x object of the class "spot_curves".
multiple if TRUE all zero-coupon yield curves are plotted together (default: FALSE).
ylim the y limits of the plot, for details see plot.default.
xlim the x limits of the plot, for details see plot.default.
type 1-character string giving the type of plot desired, for details see plot.default.
lty the line type, for details see par.
lwd the line width, for details see par .
expoints extrapolation points (default: NULL.)
ylab a label for the y axis, for details see plot.default.
xlab a label for the x axis, for details see plot.default.
main a main title for the plot, for details see title.
... other graphical parameters, see par.

See Also

plot.df_curves, plot.fwr_curves, plot.s_curves


[Package termstrc version 1.1 Index]