plot.fwr_curves: S3 Plot Method

Description Usage Arguments See Also

Description

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

Usage

1
2
3
4
5
6
## S3 method for class 'fwr_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 = "Forward rate (percent)", 
	xlab = "Maturity (years)", main = "Forward rate curves", ...)

Arguments

x

object of the class "fwr_curves".

multiple

if TRUE all forward rate 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.s_curves, plot.spot_curves


changshun/termstrc documentation built on May 13, 2019, 3:24 p.m.