plot.df_curves: S3 Plot Method

Description Usage Arguments See Also

View source: R/methods_curves.R

Description

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

Usage

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

Arguments

x

object of the class "df_curves".

multiple

if TRUE all discount factor curves are plotted togehter (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.fwr_curves, plot.s_curves, plot.spot_curves


termstrc documentation built on May 29, 2017, 1:05 p.m.