Description Usage Arguments Details See Also
S3 plot method for an object of the class "termstrc_nss"
.
1 2 3 4 5 6 | ## S3 method for class 'termstrc_nss'
plot(x, matrange = c(min(mapply(function(i) min(x$y[[i]][, 1]),
seq(x$n_group))),max(mapply(function(i) max(x$y[[i]][, 1]),
seq(x$n_group)))), multiple = FALSE, expoints = unlist(x$expoints),
ctype = "spot",errors = "none", lwd = 2, lty = 1, type ="l",
inset = c(0.8, 0.1), ask = TRUE, ...)
|
x |
object of the class |
matrange |
maturity range for the plot, e.g., c(2,10). Only a range within the maturity range of the estimation is allowed. |
multiple |
if |
expoints |
extrapolation points (default: |
ctype |
parameter setting for the desired curve type, |
errors |
Specify the type of the error plot. If |
lwd |
the line width, for details see |
lty |
the line type, for details see |
type |
1-character string giving the type of plot desired, for details see |
inset |
inset distance(s) from the margins as a fraction of the plot region, for details see |
ask |
if |
... |
other graphical parameters, see |
Depending on the choice of the curve type ("spot"
, "forward"
, "discount"
, "spread"
) the corresponding
curves will be plot. Either separately or together (multiple = TRUE
). If the curves are plotted together a dashed line indicates that
the corresponding curve has been extrapolated. In addition, with a separate zero-coupon yield curve plot the yield-to-maturity will be plot. To ease the analysis of the goodness of the estimation, several error plots are offered.
plot.df_curves
, plot.error
, plot.fwr_curves
, plot.ir_curve
, plot.s_curves
,
plot.spot_curves
, plot.termstrc_nss
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.