bondCurve | R Documentation |
This function draws forward and yields curves, for AAA-rated central governement bonds and/or all central governement bonds.
bondCurve(date1, date2 = NULL, yield = TRUE, forward = TRUE,
AAA = TRUE, all = TRUE, params)
date1 |
The date for which the curves are drawn |
date2 |
Optional second date for which the curves are drawn |
yield |
Is the yield curve shown (TRUE/FALSE)? |
forward |
Is the forward curve shown (TRUE/FALSE)? |
AAA |
Are the curves drawn for the AAA-rated bonds (TRUE/FALSE)? |
all |
Are the curves drawn for the bonds with all ratings (TRUE/FALSE)? |
params |
The data frame of curve parameters |
No value. Only a figure is produced.
Arto Luoma
https://bit.ly/2zfs0G8
data(params)
bondCurve(as.Date("2004-09-06"),params=params)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.