View source: R/BondFunctions.R
Calculates the effective duration based on dscount vector (zero coupon) cashflow vector, and rate delta
| 1 2 3 4 5 6 | BondEffectiveDuration(
  Rate.Delta = numeric(),
  cashflow = vector(),
  discount.rates = vector(),
  time.period = vector()
)
 | 
| Rate.Delta | A numeric value the interest rate shift in basis points | 
| cashflow | A numeric vector of cashflow | 
| discount.rates | A numeric vector of the discount rates | 
| time.period | A numeric vector of the time period | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.