Learn R Programming

termstrc (version 1.0)

plot.cubicsplines: S3 Plot Method for Cubic Splines

Description

S3 plot method for an object of the class cubicsplines

Usage

## S3 method for class 'cubicsplines':
plot(x,matrange,pdf=FALSE,...)

Arguments

x
object of the class cubicsplines
matrange
maturity range for the plot, e.g. c(2,10)
pdf
if TRUE the graphics are plotted in a pdf file, which is saved in the current working directory
...
other arguments

Details

A plot of the estimated zero-coupon yield curve including the calculated yields for each specified group of bonds is offered. The occurrence of dashed vertical lines in a graphic represents the knot points used for the cubic splines estimation. In addition all zero-coupon yield curves are plotted in one graphic and afterwards the spread curves are plotted.

See Also

print.cubicsplines, summary.cubicsplines