data(govbonds)
(m <- create_maturities_matrix(govbonds[[1]]))
## maturities matrix with included maturity of the current
## dirty price, i.e., zero.
(m_p <- create_maturities_matrix(govbonds[[1]],include_price=TRUE))
Run the code above in your browser using DataLab