View source: R/SpreadToPriceFunctions.R
A function to solve for the spread to the spot rate curve
1 2 3 4 5 6 | SolveSpotSpread(
spot.curve = vector(),
cash.flow = vector(),
time.period = vector(),
proceeds = numeric()
)
|
spot.curve |
A vector representing the spot rate curve |
cash.flow |
A vector representing the cash flow paid to the investor |
time.period |
A vector representing the time weights used to discount cash flow |
proceeds |
A numeric value proceeds paid by the investor |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.