Description Usage Arguments Value See Also Examples

Creates a matrix of cashflows for a specified group of bonds for a static bond data set. The number of rows is the number of cashflows for the bond with the longest maturity.

1 | ```
create_cashflows_matrix(group, include_price = FALSE)
``` |

`group` |
static bond data set for a certain group of bonds. |

`include_price` |
if |

Returns a matrix which consits of the calculated cashflows.

1 2 3 4 5 | ```
data(govbonds)
(cf <- create_cashflows_matrix(govbonds[[1]]))
## cf matrix with included current dirty price
(cf_p <- create_cashflows_matrix(govbonds[[1]],include_price=TRUE))
``` |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.