View source: R/scenario_refi.R
| sweep_sensitivities | R Documentation |
For each (rate, exit_yield) pair, builds a bullet schedule, merges it
with dcf_calculate() cash flows, computes ratios via add_credit_ratios(),
and returns min_dscr (t >= 1) and max_ltv_forward (t >= 1).
sweep_sensitivities(
dcf_res,
rate_grid,
exit_yield_grid,
ltv = 0.6,
maturity = 5L
)
dcf_res |
list. Output of |
rate_grid |
numeric. Grid of annual nominal rates (decimal). |
exit_yield_grid |
numeric. Grid of |
ltv |
numeric(1). Initial LTV (default 0.60). |
maturity |
integer(1). Maturity (years) of the bullet schedule. |
tibble with columns rate, exit_yield, min_dscr, max_ltv_forward.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.