Learn R Programming

termstrc (version 1.3.7)

plot.ir_curve: S3 Plot Method

Description

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

Usage

"plot"(x, ylim = c(), xlim = c(), lwd = 2, type = "l", xlab = "Maturity (years)", ylab = "Zero-coupon yields (in percent)", col = "steelblue", lty = 1, ...)

Arguments

x
object of the class "ir_curve".
ylim
the y limits of the plot, for details see plot.default.
xlim
the x limits of the plot, for details see plot.default.
lwd
the line width, for details see par.
type
1-character string giving the type of plot desired, for details see plot.default.
xlab
a label for the x axis, for details see plot.default.
ylab
a label for the y axis, for details see plot.default.
col
the colors for lines and points.
lty
the line type, for details see par.
...
other graphical parameters, see par.