Description Usage Arguments Value Examples
rate2zcp
computes the price of a zero coupon bond for given maturities and rates.
1 | rate2zcp(mat, rate, method = "continuous")
|
mat |
Vector. Maturities of the bound. |
rate |
Vector. Panel of rates for which the price is to be computed. |
method |
Character. Computation method:
|
The zero coupon prices associated to the maturity.
1 | rate2zcp(1, 0.01, "continuous")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.