Learn R Programming

termstrc (version 1.1.1)

create_cashflows_matrix: Cashflows Matrix Creation

Description

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

Usage

create_cashflows_matrix(group, include_price = FALSE)

Arguments

group
group name.
include_price
if TRUE the dirty price is included (default: FALSE).

Value

  • Returns a matrix which consits of the calculated cashflows.

See Also

create_maturities_matrix