YieldTypes-class: A S4 class representing yield to maturity

Description Slots

Description

This class is used to create and pass YieldTypes reported by Bond Lab analytics and reported to investors. It does not calculate yield to maturity rather it holds the value in decimal number, basis, and decimal string form.

Slots

YieldDecimal

a numeric value the yield to maturity in decimal number form

YieldBasis

a numeric value the yield to maturity in basis form

YieldDecimalString

a character string the yield to maturity


glennmschultz/BondLab documentation built on May 11, 2021, 5:29 p.m.